which one is primary config file for an application that written by WPF?

app-config, build, c#, configuration, wpf

Solution

first, what are these files?

The `vshost.exe` files 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.

secondly, which one of this config files are primary?

None. The primary config for your application `OurApplication.exe` should be `OurApplication.exe.config`. If you've added an `App.config` configuration file to your project the build process will automatically generate `OurApplication.exe.config` using this file unless you've changed a build setting.

If we delete these 3 files, can we running application?

Yes. These are for debugging purposes only; you do not need them to run your application and should not deploy them with your application.

Problem

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?

Original source