简体   繁体   中英

How to run console application when other project build is failing

I have a console application that doesn't depend on the other project in the solution. The other project build is failing (compile issue), and I don't want to fix it just yet.

How can I get the console application to run? I have already set the console project as the 'startup project'

If there's no dependencies you can go to the Build menu at the top, and select "Configuration Manager". Find the project you do not want to build and make sure the checkbox in the "Build" column is not checked.

Alternatively you could right click the console app and choose "Debug -> Start New Instance".

This assumes that there are no dependencies between projects.

You can unload other projects, and then start your debug process in visual studio.

Example:

示例:卸载项目

Regards,

如果您在解决方案中只有一个其他项目,那么一个简单的解决方法是右键单击该另一个项目并简单地“卸载项目”。

右键单击项目本身 - > debug - >启动新实例

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM