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?
2 Answers
Build your projects in Release mode. Check out the bin/Release folder.
4 Comments
Stefan
Does this handle the mySql database as well? Does it contain for example a stand-alone instance?
ganders
@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...
Copenhagen Llagas
there's no other way to make them on executable file?
Stefan
@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
For database you can set DatabaseInitializer if you use EntityFramework. It create your db if it doesn't exist.
binoutput folders, it should contain the appropiate assemblies