1

My winform application contains a lot of references.I was able to create it's single executable file by installing Fody and Costura. But now my app need to add solution of another project as a reference to it. Now when creating a new exe it is not working. It means that this newly added external reference is not including in the exe. Can you help how to create an exe which should include an external project solution as reference?

enter image description here

nsds
  • 961
  • 4
  • 13
  • 39
  • What do you mean with "not working"? Do you get any error or warning while compiling? – Djuro Feb 07 '19 at 06:27
  • when double clicking on exe , comes nothing. – nsds Feb 07 '19 at 06:35
  • Did you try to run it in debug mode from Visual Studio? – Djuro Feb 07 '19 at 06:38
  • yes both debug and release mode are working. – nsds Feb 07 '19 at 06:39
  • What are .NET versions of your project and additional libraries? Are they same? Are both x86 or 64bit? – Djuro Feb 07 '19 at 06:41
  • I can run the exe file when it is in release folder of project. when I copy it to other location it is not working – nsds Feb 07 '19 at 06:42
  • Did you copy all dlls from release folder too? – Djuro Feb 07 '19 at 06:47
  • release folder contains Demo.exe,Demo.exe.config and Demo.pdb files only. when I copy these three it is working. But I want to execute the app with single exe file. Previously I can achieve it by installing costura and foddy. But now it is not working with external project solution as reference. That is my issue – nsds Feb 07 '19 at 07:00
  • why don't you try publishing it to your desired location – Adas Feb 08 '19 at 13:38

0 Answers0