-1

I have a program that I built in C# using Visual Studio 2013

I want to build a standalone exe that I can send to someone and they can download and run.

I went into Visual Studio 2013 and changed my Solution's configuration to Release.

I then went and clicked Build Solution.

I went into my \bin\release folder and I opened the EXE. The EXE works when I run it from here.

I copied the EXE and pasted it onto my desktop, I opened the EXE and I see something happen in the taskbar but then nothing occurs.

I've tried changing The Platform from AnyCpu to x86 and that wasn't fixed either.

Any ideas?

1 Answers1

1

When copying an exe from the bin folder you must ensure you also copy any dll or other files that were put there. The compilation process ensures all dependencies are output to the bin folder, you need to ensure you deploy them with your app.

DaveShaw
  • 52,123
  • 16
  • 112
  • 141