SharpDevelop C# Windows Application is ready to deploy .. how to move sql database to client pc? what else i need?

StackOverflow https://stackoverflow.com/questions/20594058

Domanda

I just done with programming client's application by SharpDevelop C# .. Now i need to install the software to customer ... What i need exactly to do?

I know some steps .. but i'm not sure if something is missing ..

1)Build Project to .exe

2)Move built project to client pc.

3)Move database to client pc. <<<<<<<<<<<<<<< I'm using MSSQL sqlexpress .. How to move the database to client pc?

4)change connection string in configuration file to suit the new changes.

5)installing the following in client pc:

  • SQL Server Management Studio

    • Net Framework

so my question is in number (5) how to move database ...

my 2nd question is anything missing that i have to do?

Thanks in advance..

È stato utile?

Soluzione

I think your steps are qualified for many Winform Apps, so you can do it as your steps, then to test it on a new machine. if it works well, then you can do the same things on your clients' PCs. in other kinds of apps, there may be other things to do, such as set environment variables, add register keys, and so on. but I think they are unnecessary to do them, so you just test as your steps. about you asked how to move database, I usually copy the mdf file and ldf file together to clients' PCs, then attach them into SQLServer Management Studio. good luck!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top