Visual Studio Hosting Process和“操作无法完成" [英] Visual Studio Hosting Process and "The operation could not be completed"

查看:102
本文介绍了Visual Studio Hosting Process和“操作无法完成"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Visual Studio 2008中执行应用程序时,您收到(无提示)消息操作无法完成".

When trying to execute from within Visual Studio 2008 your application and you get the (uninformative) message "The operation could not be completed".

解决方案是关闭"Visual Studio托管过程".

The solution to this is to turn off the "Visual Studio Hosting Process".

关闭此托管过程"的问题是所有运行并重写"功能不再可用.好的,所以这没什么大不了的,但是无论我使用什么机器,我都会总是收到此消息(偶尔使用重写和执行功能可能会很不错)

The problem with turning off this "hosting process" is that all the "run and rewrite" functionality is no longer available. OK, so this isn't a big deal, but I'm always getting this message no matter what machine I use (and it might be nice once in a while to use the rewrite and execute functionality).

我做错什么了吗? VS中的这个功能"怎么会如此抱怨呢?其他人在启用和使用托管过程方面是否成功?

Am I doing something wrong? How come this "feature" within VS seems to complain so readily? Do other people have success with enabling the hosting process and making use of it?

推荐答案

关闭此托管过程"的问题是所有运行并重写"功能不再可用.

The problem with turning off this "hosting process" is that all the "run and rewrite" functionality is no longer available.

不需要Visual Studio托管过程即可允许编辑"和继续".在项目是dll而不是EXE的情况下,它用于设计时表达式评估".它还用于为部分信任方案提供调试.请参见文档,了解其所做的一切.

The Visual Studio Hosting Process is not needed to allow Edit and Continue. It is used for "Design time expression Evalutation" in the case where the project is a dll rather than an EXE. It is also used to provide debugging for partial trust scenarios. See the documentation for everything it does.

它几乎不可能执行您需要的任何操作,因此不要感到难过将其关闭.

It is highly unlikely it does anything you need, so don't feel bad turning it off.

这篇关于Visual Studio Hosting Process和“操作无法完成"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆