0

I have been writing an application using Visual Studio and MySQL Management Studio. The application is nearly complete, and I want to package it into a standalone file (or files) that can be used without Visual Studio etc. How do I do this?

3
  • 1
    Check the bin output folders, it should contain the appropiate assemblies Commented Mar 23, 2017 at 12:59
  • Sounds like they are having trouble compiling? Commented Mar 23, 2017 at 13:00
  • 1
    I have tried to rephrase the question as best I can interpret it; if I have misunderstood the problem, please can you rephrase it? Feel free to revert my edit, but please understand that the original question was very hard to understand. Commented Mar 23, 2017 at 13:04

2 Answers 2

2

Build your projects in Release mode. Check out the bin/Release folder.

Sign up to request clarification or add additional context in comments.

4 Comments

Does this handle the mySql database as well? Does it contain for example a stand-alone instance?
@Stefan no. you're going to have to have the database hosted someplace. Either on an in house server or in the cloud. Cloud solutions are very cheap. I run a website on Azure (C# + SQL Server) and it costs about $75/mo. You could go with a completely free plan as well. AppHarbor is also very cheap, you could probably get that down to $10/mo or so...
there's no other way to make them on executable file?
@CopenhagenLlagas: yes, there is something which is called LocalDb, it might be suited for presentation purposes as well although I am not sure if you can "bake" this in your executable. It's targetting ms-sql by the way. msdn.microsoft.com/en-us/library/hh510202.aspx
0

For database you can set DatabaseInitializer if you use EntityFramework. It create your db if it doesn't exist.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.