且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Visual Studio Community 2017上禁用Visual Studio托管过程

更新时间:2023-02-27 13:16:13

此功能似乎已在VS 2017中删除.根据.不幸的是,我还没有从官方来源找到任何东西.

所以我的猜测是,也许您有以前版本(VS2015?)生成的这些文件.尝试从bin和obj目录中删除所有文件,然后进行构建以查看是否再次生成了这些文件.

希望这会有所帮助!

I am trying to disable output of a vshost.exe file to my release folder. There is a similar question here and here. This Microsoft doc instruction for 2015, and followed the 2017 rc link and found this

They all mention the Enable the Visual Studio hosting process checkbox on the properties Debug tab. But this option does not appear in my screen.

I have tried this on the properties pages for Console Application and windows Application project output types.

Is this feature supported in VS Community 2017 or is there another way to achieve he same result?

This feature seems to be removed in VS 2017. According to this thread and also this one. Unfortunately, I haven't found anything from official sources.

So my guess is that maybe you had these files there generated by previous versions (VS2015?). Try deleting all files from bin and obj directories and do a build to see if these files are generated again.

Hope this helps!