Deploying a Visual Studio C# project with database

本小妞迷上赌 提交于 2019-12-22 17:53:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!