all groups > visual studio .net general > september 2005 >
You're in the

visual studio .net general

group:

Re: C# projects building unnecessarily


Re: C# projects building unnecessarily Kevin Spencer
9/29/2005 11:02:02 AM
visual studio .net general:
I sympathize, Mark. Have you done any manual tweaking of the dependencies? A
possible solution would be to remove the offending project(s) from the
solution, and then re-add them. Of course, you would have to re-add the
references. This should cause Visual Studio to figure out the dependencies
again, and may fix the problem. Another possibility is an indirect circular
dependency, although Visual Studio should identify that automatically, and
not permit it. Also, are you referencing any DLLs that are not projects, but
simply DLLs? This might possibly confuse the dev environment as well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Big things are made up of
lots of little things.

[quoted text, click to view]

Re: C# projects building unnecessarily Mark Rendle
9/29/2005 3:38:26 PM
Basically, every time I run my solution, even if I haven't changed ANYTHING
at all, this one project (and thus all projects which reference it) gets
rebuilt and shows the "0 errors, 0 warnings" message instead of the "Project
is up-to-date" message. (The Output window doesn't get cleared, it just
switches to the "Debug" view when the application starts; you can switch it
back to the "Build" view in the dropdown at the top to see the results of
the build process.) It's not all the projects in the solution, because there
are several projects further up the dependency hierarchy which don't get
rebuilt. It's just this project, and any of the other projects which depend
on it. It's most annoying and time-consuming.

Cheers,
Mark

[quoted text, click to view]

AddThis Social Bookmark Button