开发者

required files to distribute a .net application

开发者 https://www.devze.com 2022-12-26 15:06 出处:网络
I\'m trying to figure out what files are needed when I distribute an application that I have written. In the release folder after I have built the application I have the following:

I'm trying to figure out what files are needed when I distribute an application that I have written. In the release folder after I have built the application I have the following:

app.exe (obviously needed)

app.exe.config (obviously needed for my config settings)

app.pdb

app.vshost.exe

app.vshost.exe.config

app.vshost.exe.manif开发者_开发知识库est


  • app.exe is needed
  • app.exe.config is needed

The others are not needed:

  • app.pdb is debugging info, which will reveal internals of your code. You should not distribute it.
  • app.vshost.exe.* are visual studio debug host files, which should not be distributed.


Both ClickOnce and Deployment projects tend to take care of including everything necessary. These also take care of installing the appropriate version of the framework.

0

精彩评论

暂无评论...
验证码 换一张
取 消