Reputation: 528
I've got two solutions, one containing a WinForms-Project and one containing a Utilities-Library.
To comfortably debug and develop the two projects I added the Utilities-Project to the WinForms-Project's Solution. Even though the Utilities-Project is still a seperate Project and should be kept seperate (also due the GIT Repos).
Now I've ran into the problem that changes I applied to the Utilities-Project do not affect the WinForms-Project because the Utilities do not seem to get rebuilt correctly.
I'm using Visual Studio 2010 and am referencing the Utilities-Project via Add reference->Project.
How should I restructure the projects/solutions? What might be the error?
Thanks.
Upvotes: 0
Views: 2292
Reputation: 1582
You need to check the configuration manager to ensure that the project is set to build for the selected configuration and platform.
In the output window you will get a summary at the end.
========== Build: x succeeded, x failed, x up-to-date, x skipped ==========
If any projects are skipped then they are not set to build for that configuration/platform.
Also worth checking Visual Studio under Tools -> Options -> Projects and Solutions -> Build and Run as there are some options there that control when to build things. You can also turn the build output up/down which may give some clues as to why it is not building.
Upvotes: 4