all groups > visual studio .net general > february 2007 >
You're in the

visual studio .net general

group:

Visual Studio saves solution files with no changes.


Visual Studio saves solution files with no changes. Kai
2/21/2007 7:10:21 AM
visual studio .net general: Hi.

When we open a solution that contains multiple projects, Visual Studio wants
to save the sln file and one of the csproj files when the solution is
finished loading. If we let Visual Studio save the files and look at them
afterwards the only thing that has changed is the date when the file was last
modified. We have the same problem when building from the command line.

Since our files are in source control and not checked out Visual Studio
can't write to the files if we don't do a checkout. The checkout operation is
a manual step. When building from the command line this error will stop the
buildprocess.

This error doesn't occur on all solutions, but I can't figure out what the
difference is between a solution that works well and the ones that are
failing.

Do you have any suggestions what might be wrong?


Regards,
RE: Visual Studio saves solution files with no changes. lukezhan NO[at]SPAM online.microsoft.com
2/22/2007 12:00:00 AM
hello Kai,

You may create a new blank solution and add the particular project in your
original solution (whose csproj file was changed), and then compile this
solution with command line, will this also generate the problem? If so, we
may perform further research on this project to see what cause the problem.

Sincerely,

Luke Zhang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


Re: Visual Studio saves solution files with no changes. Gerry Hickman
3/4/2007 1:55:52 AM
Hi Kai,

[quoted text, click to view]

That doesn't sound good!

Has it ALWAYS done that, or if not, when did it start doing that? In
general we tend to keep solutions local and we only put projects under
source control. We've been running a long time with this setup without
any issues.

You could try a new solution, then add some test projects, see if you
get the same problem.

--
AddThis Social Bookmark Button