Visual Studio Hosting Process和“操作无法完成"

编程入门 行业动态 更新时间:2024-10-26 04:22:46
本文介绍了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和“操作无法完成"

本文发布于:2023-11-03 14:40:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1555386.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:操作   Studio   Visual   Hosting   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!