-3

How do you save your console application as exe program?
I have found the exe file within the Debug folder, but returns an error when executed.

Error message –

Could not load file or assembly 'Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' or one of its dependencies. The system cannot find the file specified.

I’m using the Ionic library, I think I need to package the whole program, not sure how to do this?

Kewin Dousse
  • 3,880
  • 2
  • 25
  • 46
Tom
  • 135
  • 5
  • 15
  • 1
    What research have you done on the error message? How has it not helped you? Please include links and a specific explanation for each detailing why it didn't answer your question. – rory.ap Mar 22 '17 at 14:48
  • [Referencing a 3rd party assembly which is not located in the root location](http://stackoverflow.com/q/10055670/669576) – 001 Mar 22 '17 at 14:50
  • *"console application as exe program"* - [direct answer](http://stackoverflow.com/q/11523641/1997232), but it may suffice in your case to simply copy complete `Bin` folder. – Sinatr Mar 22 '17 at 14:50

1 Answers1

-1
  • Right click on the your project on the solution explorer
  • On configuration choose release
  • Now you will find a release folder next to the debug folder use the .exe inside it
Scarnet
  • 738
  • 2
  • 11
  • 36