[英]How to package and deploy a C# desktop application with a SQL Server 2012 database in Visual Studio 2010?
I have created a database application using C# in Visual Studio 2013. It uses SQL Server 2012. I don't know how to package my database in the .msi
package for this application. 我已经在Visual Studio 2013中使用C#创建了一个数据库应用程序。它使用了SQL Server2012。我不知道如何将数据库打包到该应用程序的.msi
包中。 Please help me in writing a script to create the database and setup its connection strings. 请帮助我编写脚本来创建数据库并设置其连接字符串。 So that I can install and run the app using SQL Server on any other PC besides my own computer where I am developing the app. 这样,除我自己开发应用程序的计算机外,我还可以在其他任何PC上使用SQL Server安装和运行该应用程序。
The way I saw it in a commercial project was: 我在一个商业项目中看到的方式是:
Also check: 还要检查:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.