[RESOLVED] standalone database application?
Hello, I have made a project with a database, but when i take the debugged .exe file from the project/debug folder it gives me a net framework error saying the database1.mdf already exists. How can I create a standalone .exe file which will work everywhere?
Thanks in advance, Nick Dekker
Re: standalone database application?
Well, first, build a release version! You shouldn't be taking the .exe from the debug folder at all!
Does your application create the database or rely on a pre-prepared one? If it's the former you obviously need to code the program so that it can detect an existing database and not try to build a new one after the first running.