Reputation: 85
I'm new to publishing, and google wasn't very helpful, so I'm asking here.
I have created a WPF application that uses Microsoft SQL Server Management Studio for the database. I have created a setup for the program, and have tested it on another PC, and it doesn't work since the other PC doesn't have SQL Server.
Is my only solution to install SQL Server on every other PC, or is there something I missed in publishing section of Visual Studio? Or is there any way I can create a setup that includes the database in it?
Upvotes: 3
Views: 425
Reputation: 3003
It sounds like you might want to look into SQL Server Express. It's designed to be a lighter-weight SQL Server intended to be included with apps that sound like yours. If you've already developed a database using a standard SQL Server installation, you should be able to import the data into Express and then include that in your project. I haven't actually done it before, but I think when you create your app installer you can have an option to include the setup for SQL Server Express if it's part of your project.
Upvotes: 1