Running multiple projects in visual studio

若如初见. 提交于 2019-12-09 19:00:29

问题


I'm running visual studio express 2012 on Windows 7 through Bootcamp. I have a solution with several projects, and when I start debugging it runs the first project, but I can't start new instances of the others (when I right click and choose debug -> start new instance it is grayed out).

I tried creating a new solution with two blank projects and I have the same problem.

Any ideas?


回答1:


Right click on Solution -> Common Properties -> Startup Project -> Multiple startup projects -> Choose "Start" actions in drop-down lists. Now start debugging as usual.




回答2:


Right Click -> Debug -> Start New Instance is not available for all types of projects. Usually projects of the type class libraires have this option missing.

Thanks, Karthik




回答3:


Use the new instance of Visual studio in order to debug the other project.



来源:https://stackoverflow.com/questions/16546307/running-multiple-projects-in-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!