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

1

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

问题描述

限时送ChatGPT账号..

我正在尝试禁用将 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 托管进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

C# 中的多播委托奇怪行为?
Multicast delegate weird behavior in C#?(C# 中的多播委托奇怪行为?)...
2023-11-11 C#/.NET开发问题
6

参数计数与调用不匹配?
Parameter count mismatch with Invoke?(参数计数与调用不匹配?)...
2023-11-11 C#/.NET开发问题
26

如何将代表存储在列表中
How to store delegates in a List(如何将代表存储在列表中)...
2023-11-11 C#/.NET开发问题
6

代表如何工作(在后台)?
How delegates work (in the background)?(代表如何工作(在后台)?)...
2023-11-11 C#/.NET开发问题
5

没有 EndInvoke 的 C# 异步调用?
C# Asynchronous call without EndInvoke?(没有 EndInvoke 的 C# 异步调用?)...
2023-11-11 C#/.NET开发问题
2

Delegate.CreateDelegate() 和泛型:错误绑定到目标方法
Delegate.CreateDelegate() and generics: Error binding to target method(Delegate.CreateDelegate() 和泛型:错误绑定到目标方法)...
2023-11-11 C#/.NET开发问题
14