应该从发行目录清除* .vshost.exe和* .vshost.exe.config? [英] Should I clean *.vshost.exe and *.vshost.exe.config from release directories?

查看:514
本文介绍了应该从发行目录清除* .vshost.exe和* .vshost.exe.config?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在生产部署文件夹中找到了大量的vshost文件。我知道这些是什么,他们不属于这里。我的问题是,他们是否有任何伤害?是否值得我花时间检查所有部署文件夹的100多个应用程序,以确保它们被删除,或者这是浪费时间?

I have found a number of vshost files in production deployment folders. I know what these are for and that they don't belong here. My question is, do they do any harm? Is it worth me spending the time checking all of the deployment folders for 100+ applications to make sure that they are removed, or is this a waste of time?

我也必须更改相当数量的部署脚本。

I would have to change a fair number of deployment scripts as well.

他们被部署构建脚本包含在开发人员中,幸好很久没有了。我知道他们不是在那里。我想知道的是,是否有任何危险离开他们。

They were included in deployment build scripts by developers who, thankfully are long gone. I know they are not meant to be there. What I want to know is whether there is any danger in leaving them there.

推荐答案

他们不应该在生产部署文件夹第一名。
它们只能由Visual Studio(从开发文件夹)运行。
他们是如何部署的?

They should not be in production deployment folders in the first place. They should only be run by Visual Studio (from the development folders). How did they get deployed anyway?

他们设置了一个部分信任环境进行调试。请参阅 here 了解更多关于他们的工作。我没有看到他们留在部署文件夹中有很大的危险。

They set up a partial trust environment for debugging. See here for more about what they do. I don't see any big danger in them staying in the deployment folders.

这篇关于应该从发行目录清除* .vshost.exe和* .vshost.exe.config?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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