To start with: I'm a complete beginner. I have two projects in one solution. One project is a console application, which is called from the windows form application. Now I want to add these to one executable. I was told that it was possible with Fody/Costura. I downloaded it and added the IncludeAssemblies code to the xml file. However, if i go to the debug folder, ther are still the two executables seperately (apart from some new generated files) Does the executable save in another place or did i do something wrong?
Install Costura. Fody from Nuget Pacakges. You can simply right click on References, and go to Manage Nuget Packages, then search for Costura. Fody, and install it.
Translation of costura – Portuguese–English dictionary needlework [noun] work done with a needle ie sewing, embroidery etc. seam [noun] the line formed by the sewing together of two pieces of cloth etc. seam [noun] the line where two things meet or join. sewing [noun] the activity of sewing. sewing [noun] work to be ...
As of version 1.5 Costura automatically cleans up the directory.
To disable this there is now a setting in the config. https://github.com/Fody/Costura#disablecleanup
It could be that Fody/Costura has already merged the separate DLL files (.NET assemblies) into the EXE. It doesn't take care of deleting those for you. You can easily check if this is the case by simply copying the executable out of the output directory along with any other dependencies besides the assemblies, and see if it runs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With