How to prevent Visual Studio from starting up a Windows/Console Application when debugging?
I've a solution with two projects on VS2008: an ASP.NET Web App and a Windows App. They don't depend on eachother.
Is it possible to prevent Visual Studio from 开发者_运维知识库doing a "Start project" for the Windows App when I'm Debugging?
On this question are solving a similar issue with WCF Apps but not with Windows Apps.
Thank you in advance.
Juan Hoyos
To set the solution startup project:
- Right-Click on the Solution
- Select Single Startup Project
- Select Your Web Application
- Click OK
To set the web application as the startup project:
- Right-Click on the Web Application Project
- Click Set as StartUp Project
To manually run the web application:
- Right-Click on the Web Application Project
- Select Debug
- Select Start New Instance
you should be able to set the startup on any project by right clicking and selecting "start as startup". You can also set a start page for an ASP.NET App by clicking that page and saying "set as start page"
精彩评论