Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

required files to distribute a .net application

Tags:

c#

.net

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.manifest

like image 724
Jeff Avatar asked Oct 14 '22 07:10

Jeff


1 Answers

  • 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.
like image 70
Anders Abel Avatar answered Oct 18 '22 21:10

Anders Abel