vshost.exe 文件的用途是什么? [英] What is the purpose of the vshost.exe file?

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

问题描述

当我创建和编译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)

  1. HelloWorld.vshost.exe
  2. HelloWorld.pdb
  3. 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屋!

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