[C #] Hosting Process (Vshost.exe)

Source: Internet
Author: User
Tags hosting

Write in front

Recently in the group, a friend asked what the Vshost.exe process was all about. At that time really do not know what is a thing, give people the feeling is, often see it, is in the start of a project, often see it, is not carefully study what it is. Since the encounter, you can not let go, we should study a one or two.

Vshost.exe

By name hosting process we can translate to: host processes.

The hosting process is a feature in Visual Studio 2005 that improves debugging performance, enables partial trust Debuggin g, and enables design time expression evaluation. The hosting process files contain vshost in the file name and is placed in the output folder of your project. For more information, seeDebugging and the Hosting Process.

The host process is a feature in vs2005 that is used to improve debugging efficiency, perform expression operations and Partial-trust debugging at design time. The host process file is named X.vshost.exe and is stored in the output directory of the project. For example:

Hosting process files (. vshost.exe) is for use by Visual Studio 2005 and should not being run directly or deployed with your Application.

The host process file (. vshost.exe) is used by VS2005 and cannot be run directly from your application.

Improve commissioning efficiency

The host process (Vshost.exe) creates an application domain (application domain) associated with the currently applied debugger, and doing so will obviously increase the time between the start of debugging and the start of the application. However, the host process can use this application domain to improve debugging efficiency and to save the application domain and debugger state while the app is running.

Design-time Expression Evaluation

Now you can test the code in the Immediate window without having to run the application.

Partial Trust Commissioning

Applications can be specified as a partial trust app through the Project Designer's security Settings page, and debugging this type of application requires a special initialization of the application domain, which is done by Vshost.exe.

You can disable the process by doing the following

Reference articles

http://msdn.microsoft.com/en-US/library/ms185331 (v=vs.80). aspx

[C #] Hosting Process (Vshost.exe)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.