How to pack all your DLLs into single EXE file in Visual Studio
Its a headache of DLLs while developing for windows EXE apps. One would get a ton of DLLs along with the EXE application without which the EXE file wont just start.
So what is the solution to this problem.
Simple!! use the NuGet package Fody.Costura.
To Install this follow the steps in Visual Studio
- Right Click on Solution of the Project

2. Click on Manage NuGet packages
3. Then in the NuGet bar. Click on Browse and Search for Fody.Costura

4. Install the Package and then rebulid your application.
5. Now goto the build folder and you will see only one EXE file.
Hope this helped. Thanks for reading