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

Disabling Visual Studio hosting process on Visual Studio Community 2017(在 Visual Studio Community 2017 上禁用 Visual Studio 托管进程)
本文介绍了在 Visual Studio Community 2017 上禁用 Visual Studio 托管进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试禁用将 vshost.exe 文件输出到我的发布文件夹.here 和 这里.此 Microsoft doc 2015 年说明,并遵循 2017 rc 链接和找到 这个p>

他们都提到了属性调试选项卡上的启用Visual Studio托管进程复选框.但是这个选项没有出现在我的屏幕上.

我已经在 Console Applicationwindows 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 托管进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

DispatcherQueue null when trying to update Ui property in ViewModel(尝试更新ViewModel中的Ui属性时DispatcherQueue为空)
Drawing over all windows on multiple monitors(在多个监视器上绘制所有窗口)
Programmatically show the desktop(以编程方式显示桌面)
c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
LINQ many-to-many relationship, how to write a correct WHERE clause?(LINQ多对多关系,如何写一个正确的WHERE子句?)