Reputation: 12609
I have a solution with multiple projects from another developer. One of the projects is a test app that has errors because it has hard-coded references to DLL's that developer's hard drive. I don't need the test project or those DLL's to use the other projects in the solution
Because of the errors, I can't run any of the projects in debug mode. One solution is to remove the test project from the solution, but is there any other way to debug one of the projects when another project has errors? Making sure the projects don't depend on each other doesn't seem to be enough.
Upvotes: 0
Views: 120
Reputation: 4566
There are a few options:
Upvotes: 1
Reputation: 60065
You can start it directly, not in debug mode and then attach VS to it.
Upvotes: 0
Reputation: 36487
Right click the project and "Unload" it. You should then be able to compile and run the solution while the partial project is ignored.
Also to note: The unloaded project setting isn't saved inside the solution/project files so you can check in/our code without having to worry that setting (unless you somehow check in your suo/user files).
Upvotes: 3