We write an application with WPF. When we build this project, 3 files is generate for us in addition to :
> OurApplication.exe
> OurApplication.exe.config
their names are:
> OurApplication.vshost.exe
> OurApplication.vshost.exe.config
> OurApplication.vshost.exe.manifest
first, what are these files? secondly, which one of this config files are primary? If we delete these 3 files, can we running application?
The
vshost.exefiles are hosting executables for use in debugging. They are used to improve debugging performance, enable partial-trust debugging and give you design-time expression evaluation in the Immediate window.None. The primary config for your application
OurApplication.exeshould beOurApplication.exe.config. If you’ve added anApp.configconfiguration file to your project the build process will automatically generateOurApplication.exe.configusing this file unless you’ve changed a build setting.Yes. These are for debugging purposes only; you do not need them to run your application and should not deploy them with your application.