If I make a stand-alone console project in its own solution, debug launches the application in a cmd window. Great. This is what I want.
If I create a console project inside an existing solution built originally to house an API/MVC application, debug launches the new console application as if it is a web application. Not so great.
Is there a way to ask Visual Studio to debug the console app as a console app, and the MVC app as an MVC app while leaving both inside the same solution?
This question seems relevant, but I don't understand the answer well enough to be sure.
Thanks!
通过在解决方案资源管理器中右键单击该项目,然后单击“设置为启动项目”,将您的控制台项目设置为启动应用程序。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.