* .vshost.exe来自哪里? [英] Where is *.vshost.exe coming from?

查看:77
本文介绍了* .vshost.exe来自哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含10个项目的VS.NET 2005解决方案。我已解除所有

项目的绑定,关闭并重新打开解决方案。当我通过Nant构建时,我将
复制到EXE bin / debug文件夹中的所有PDB和DLL。来源安全

未运行。我在bin / debug文件夹中看到一个myapp.vshost.exe。我

无法删除它。我也不能杀死这个过程。


当我进行构建时,我想清理bin / debug文件夹。但是,

myapp.vshost.exe文件会锁定DLL并阻止我清除

bin / debug文件夹。因为我正在通过Nant构建并且不使用VS.NET

源安全集成,所以我看不到* .vshost.exe文件在哪里

即将到来从。我已经关闭了解决方案和VS.NET但仍然获得了

文件。


任何想法?


谢谢,

布雷特

I have a VS.NET 2005 solution with 10 projects. I have unbinded all
projects, closed and reopened the solution. When I build, via Nant, I
copy all of the PDB and DLLs to the EXE bin/debug folder. Source Safe
is not running. I see a myapp.vshost.exe in the bin/debug folder. I
cannot delete it. I can''t kill that process either.

When I do a build, I want to clean out the bin/debug folder. However,
the myapp.vshost.exe file locks DLLs and prevents me from cleaning the
bin/debug folder. Because I''m building via Nant and not using VS.NET
Source Safe integration, I don''t see where the *.vshost.exe file is
coming from. I have closed the solution and VS.NET but still get the
file.

Any ideas?

Thanks,
Brett

推荐答案

布雷特,


vshost.exe文件由VS.NET为您创建。这是一个在调试时运行程序的
的shell。其中一个主要目的,如果我正确地回想起

,那么它可以正确设置安全性,以防你想要以完全信任以外的方式运行
。 />

希望这会有所帮助。

-

- Nicholas Paldino [.NET / C#MVP]

- mv*@spam.guard.caspershouse.com

" Brett Romero" ; <交流***** @ cygen.com>在消息中写道

news:11 ********************** @ p10g2000cwp.googlegr oups.com ...
Brett,

The vshost.exe file is created by VS.NET for you. This is a shell that
runs your program when you debug. One of the main purposes, if I recall
correctly, is so that it can set security correctly in case you want to run
in something other than full trust.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
我有一个包含10个项目的VS.NET 2005解决方案。我已取消所有
项目的绑定,关闭并重新打开解决方案。当我通过Nant构建时,我将所有PDB和DLL复制到EXE bin / debug文件夹中。源安全
未运行。我在bin / debug文件夹中看到一个myapp.vshost.exe。我
无法删除它。我也不能杀掉那个过程。

当我进行构建时,我想清理bin / debug文件夹。但是,myapp.vshost.exe文件会锁定DLL并阻止我清除
bin / debug文件夹。因为我正在通过Nant构建并且不使用VS.NET
Source Safe集成,所以我看不到来自* .vshost.exe文件的位置。我已经关闭了解决方案和VS.NET但仍然得到了
文件。

任何想法?

谢谢,
Brett
I have a VS.NET 2005 solution with 10 projects. I have unbinded all
projects, closed and reopened the solution. When I build, via Nant, I
copy all of the PDB and DLLs to the EXE bin/debug folder. Source Safe
is not running. I see a myapp.vshost.exe in the bin/debug folder. I
cannot delete it. I can''t kill that process either.

When I do a build, I want to clean out the bin/debug folder. However,
the myapp.vshost.exe file locks DLLs and prevents me from cleaning the
bin/debug folder. Because I''m building via Nant and not using VS.NET
Source Safe integration, I don''t see where the *.vshost.exe file is
coming from. I have closed the solution and VS.NET but still get the
file.

Any ideas?

Thanks,
Brett



http://blogs.msdn.com/dtemp/archive/...17/215764.aspx


" Brett Romero" <交流***** @ cygen.com>在消息中写道

news:11 ********************** @ p10g2000cwp.googlegr oups.com ...
http://blogs.msdn.com/dtemp/archive/...17/215764.aspx

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
我有一个包含10个项目的VS.NET 2005解决方案。我已取消所有
项目的绑定,关闭并重新打开解决方案。当我通过Nant构建时,我将所有PDB和DLL复制到EXE bin / debug文件夹中。源安全
未运行。我在bin / debug文件夹中看到一个myapp.vshost.exe。我
无法删除它。我也不能杀掉那个过程。

当我进行构建时,我想清理bin / debug文件夹。但是,myapp.vshost.exe文件会锁定DLL并阻止我清除
bin / debug文件夹。因为我正在通过Nant构建并且不使用VS.NET
Source Safe集成,所以我看不到来自* .vshost.exe文件的位置。我已经关闭了解决方案和VS.NET但仍然得到了
文件。

任何想法?

谢谢,
Brett
I have a VS.NET 2005 solution with 10 projects. I have unbinded all
projects, closed and reopened the solution. When I build, via Nant, I
copy all of the PDB and DLLs to the EXE bin/debug folder. Source Safe
is not running. I see a myapp.vshost.exe in the bin/debug folder. I
cannot delete it. I can''t kill that process either.

When I do a build, I want to clean out the bin/debug folder. However,
the myapp.vshost.exe file locks DLLs and prevents me from cleaning the
bin/debug folder. Because I''m building via Nant and not using VS.NET
Source Safe integration, I don''t see where the *.vshost.exe file is
coming from. I have closed the solution and VS.NET but still get the
file.

Any ideas?

Thanks,
Brett



似乎随机锁定这些文件。如果我没有调试的话,持有

他们被锁定的原因是什么? 清洁是怎样的?
中的功能
工作室如果锁定了吗?


Brett

It seems to lock these files randomly. What is the reason for holding
them as locked if I''m not debugging? How does the "clean" feature in
Studio work if they are locked?

Brett


这篇关于* .vshost.exe来自哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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