Preventing Visual Studio from building all projects when debugging one

前端 未结 4 847
广开言路
广开言路 2021-01-01 10:02

I have a solution with a few different projects in it: a couple dll projects, a console project, and a couple WCF projects.

The console project uses a dll from one o

相关标签:
4条回答
  • 2021-01-01 10:36

    Right click on your solution, then go to Properties, Configuration Properties and select the projects you want to be compiled.

    0 讨论(0)
  • 2021-01-01 10:37

    You might try checking what Visual Studio builds when running a project. Open the Options dialog, and go to Projects and Solutions | Build and Run. Try turning on "Only build startup projects and dependencies on Run".

    0 讨论(0)
  • 2021-01-01 10:38

    Just Unload The Project, Right Click Project -> Unload Project

    0 讨论(0)
  • 2021-01-01 10:39

    To stop the ASP.Net dev server from launching:

    Simply click the web project in the solution explorer and hit F4 to bring up the properties window, and change "Always start when debugging" from "True" to "False". You might need to check all the projects in the solution.

    See this thread for more on this.

    0 讨论(0)
提交回复
热议问题