vshost.exe 文件的用途是什么? [英] What is the purpose of the vshost.exe file?
问题描述
当我创建和编译Hello, World!"时在 C# 中的应用程序,除了主 exe(例如 HelloWorld.exe)之外,我在 Debug 文件夹中得到三个文件
When I create and compile a "Hello, World!" application in C#, I get three files in the Debug folder apart from the main exe (e.g. HelloWorld.exe)
- HelloWorld.vshost.exe
- HelloWorld.pdb
- HelloWorld.vshost.exe.manifest
这些文件有什么用途?
推荐答案
vshost.exe 功能是在 Visual Studio 2005 中引入的(为了回答您的评论).
The vshost.exe feature was introduced with Visual Studio 2005 (to answer your comment).
它的目的主要是为了让调试启动更快——基本上已经有一个运行框架的进程,只要你愿意就可以加载你的应用程序.
The purpose of it is mostly to make debugging launch quicker - basically there's already a process with the framework running, just ready to load your application as soon as you want it to.
请参阅这篇 MSDN 文章和
See this MSDN article and this blog post for more information.
这篇关于vshost.exe 文件的用途是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!