Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6159097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:04:26+00:00 2026-05-23T21:04:26+00:00

We have an application wrote in C#, which broken into several projects. These projects

  • 0

We have an application wrote in C#, which broken into several projects. These projects have reference to others.

When someone gets the source from version control and opens the solution contains these projects on its own machine, Visual Studio cannot find the references between projects, even though referenced project is build successfully. That person have to re-add the reference to solve this.

Seems to me that Visual Studio keeps some data in `suo’ file, so next time it knows where to find that re-added reference, and this problem won’t appear next time the person opens the solution.

Since `suo’ file keeps absolute path to references, we cannot commit it in our source control.

The problem is, We’ve got a separate machine, which builds this big application automatically (as our nightly-build releases) When the build-automation tool opens the solution, and calls Visual Studio’s compiler to build it, the references cannot be find. (automation tool cleans everything, and get the latest version of the source again, so it dose not have `suo’ file.)

Any solution?

Extra information

Visual Studio version: 2008 – 9.0.21022.8

.Net framework: 3.5 SP1

OS: Windows XP Professional (SP2 & SP3 – we have both of them)

Update

Seems that Visual Studio changes <ProjectReference> tag to <Reference> in `.csproj’ files sometimes. Our developers commit the file, and this problem happens.

I couldn’t find if it’s a bug in Visual Studio. The only solution that comes into my mind is to write a tool to correct this in `.csproj’ files, before pass it to the automation tool.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:04:27+00:00Added an answer on May 23, 2026 at 9:04 pm

    It’s a bug in VisualStudio 2008 and before that.

    If you open a solution that contains a project that have reference to another project, but referenced project doesn’t included in the solution, VS finds the referenced project, but changes the reference in a way that it refers to the output DLL, not the project itself.

    This bug is fixed in VS2010, and MSBuild 4.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Perl application someone else wrote and I'm trying to make it
I have an application I wrote which has been running well for 4 years.
I have a Windows Forms application that I wrote that does some monitoring of
I have an application which really should be installed, but does work fine when
I have an application deployed into multiple zones and there are some issues with
Background I'm writing a web application and I have a stored procedure which inserts
A while back I wrote an application which used Spring AOP for defining which
I wrote an application in C# for win 7 which used .NET 4.0 and
In my XUL application I have to make a system call which is more
Iam working in c++ .i have an problem while run an application ,which have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.