-5

I am developing a Winform application using Visual Studio 2013 and I am trying to get only the executable file without source code. The executable file in bin wont work if you move it in another location!

EDIT: The source file in the BIN as many pointed out work but as long as I do not include SQLite in my application. Thank you for any helpful comment and answer.

UPDATE: I just found a way how to get ONLY the executable file without source code. I need to get the entire folder Debug/Release.

Doro
  • 671
  • 1
  • 16
  • 34
  • 3
    What is "trying to get only the executable file without source code"? Do you mean you want to compile your program and only deploy the executable? That's how WinForms development and .NET development works in general. – CodeCaster Aug 01 '14 at 15:04
  • 2
    Just go to your `bin` folder and grab the executable? – Arian Motamedi Aug 01 '14 at 15:05
  • Do you mean prevent the motivated people from [looking](http://ilspy.net/)? – GSerg Aug 01 '14 at 15:06
  • 1
    @GSerg if that's the case, then also see [.NET obfuscation tools/strategy](http://stackoverflow.com/questions/2525/net-obfuscation-tools-strategy) :) – CodeCaster Aug 01 '14 at 15:08
  • @CodeCaster most of people are just in rush to answer even without proper read the question. –  Aug 01 '14 at 18:08

1 Answers1

2

In your source code folder, go to bin\Debug.

If your .exe is not enough, you may want to take a look at this (and consider to update your question): Create an application setup in visual studio 2013

Community
  • 1
  • 1
celerno
  • 1,367
  • 11
  • 30
  • What if you're not building in debug? Thank you. – Chris Hinton Aug 01 '14 at 15:25
  • Well, if you take only this file to another location, the application wont run. – Doro Aug 01 '14 at 16:20
  • @doro Then, you need more than the "executable", I've updated my answer. Please take a look. – celerno Aug 01 '14 at 16:30
  • Thank you for the answer, but there are not other way? – Doro Aug 01 '14 at 16:37
  • @doro As I don't know the resources, libraries, what ever your visual studio project has, I can't answer your question. First thing that went to my mind, is that you are new to the VS2013 and to the .Net environment (and due to that, your app will be simple). If that is not the case, I'll suggest to read about App development in the .Net framework or get a partner who is into that. – celerno Aug 01 '14 at 16:53
  • Thank you for the answer. Does matter whether I am new or not, I am here just for help and not to be judged. – Doro Aug 01 '14 at 17:12
  • 1
    Me, assuming you are new, is not a judgment, is an assumption. Assumptions are important when you are answering a question. If you think is important to reduce those assumptions, work in adding context when you are asking something. *this is a suggestion, not an order* – celerno Aug 01 '14 at 17:17
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/58519/discussion-between-celerno-and-doro). – celerno Aug 01 '14 at 20:07