问题描述
我已经找到了一些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?
他们成立了调试部分信任的环境。请参见这里所有关于他们做什么。我没有看到他们住在部署文件夹中任何大的危险。
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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!