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

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

问题描述

当我在C#中创建并编译一个hello world应用程序时,除了主exe(例如HelloWorld.exe)之外,我在Debug文件夹中得到三个文件。


  1. HelloWorld.vshost.exe

  2. HelloWorld.pdb

  3. HelloWorld.vshost.exe.manifest

这些文件的目的是什么?

解决方案

VS2005引入了vshost.exe功能(以回答您的评论)。



它的目的主要是让调试更快地启动 - 基本上已经有一个进程框架运行,只要您想要加载应用程序就可以。



请参阅此MSDN文章此博文获取更多信息。


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

What purpose do these files serve?

解决方案

The vshost.exe feature was introduced with VS2005 (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.

See this MSDN article and this blog post for more information.

这篇关于vshost.exe文件的目的是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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