问题
I'm developing my C# application with database hosted on SQL server. I just need to know how to create an installer for the client. And what should I install on the client machine?
I tried publishing the application but database changed are not reflected, so what should I do?
I've tried searching on the internet how to publish this application and give it to the client, but I couldn't find anything helpful.
Note: I'm using Visual Studio 2012, SQL server 2012.
回答1:
There are many posts online regarding deploying databases along with your web applications. I would suggest using a Database Project to manage your database changes and installing the SQL Server Data Tools.
Here are a few tutorials:
How to: Deploy a Database With a Web Application Project
SQL Server Data Tools Updated for Visual Studio 2012
Deploying Database Projects
来源:https://stackoverflow.com/questions/35020737/deploying-a-visual-studio-c-sharp-project-with-database