我正在尝试禁用将 vshost.exe 文件输出到我的发布文件夹.here 和 这里.此 Microsoft doc 2015 年说明,并遵循 2017 rc 链接和找到 这个p>
他们都提到了属性调试选项卡上的启用Visual Studio托管进程复选框.但是这个选项没有出现在我的屏幕上.
我已经在 Console Application 和 windows Application 项目输出类型的属性页面上尝试过.
VS Community 2017 是否支持此功能,还是有其他方法可以达到相同的效果?
这个功能似乎在 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!
这篇关于在 Visual Studio Community 2017 上禁用 Visual Studio 托管进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!