简体   繁体   中英

How to stop debugging in visual studio

我的c#应用程序执行第二个进程,当我停止调试时,第二个进程继续存在,并且由于该进程的.exe仍在使用中而无法重建。

It can't be done automatically with just Visual Studio.

One option would be to create a pre-build step, which you can define in your C# project file. In that pre-build step you execute a separate program where you find the process and kill it. That program could be just another C# program.

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