I have a C#/Winforms project in Visual Studio. I can build it, and all is fine, but it generates a lot of excessive files. Is there any way to avoid this? It is not very intentional, if you want to distribute it to non-technical stakeholders during the process.
I have three files (bold formated) which seems to be required. After some research, I fould a way to avoid the .vshost files (formated as italic), but I still have some files left, which I cannot figure out what does (normal formating).
- SomeLibrary.Json.dll
- SomeLibrary.Json.xml
- SomeAPI.Api.Client.dll
- SomeAPI.Api.Client.xml
- MyProgram.exe
- MyProgram.exe.config
- MyProgram.pdb
- MyProgram.vshost.exe
- MyProgram.vshost.exe.config
- MyProgram.vshost.exe.manifest
How do I make a release build without these remaining non-required files?