Hello My Dear Friends, i want to ask how can i publish c# application in visual studio 2010 to executable program with sql server 2008? Thanks in advance. ??
Loading
Hello My Dear Friends, i want to ask how can i publish c# application in visual studio 2010 to executable program with sql server 2008? Thanks in advance. ??
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Arnab MukherjeePosted Sep 2, 2021, 1:02 PM
Ahmet TahaPosted Sep 2, 2021, 9:00 AM
Arnab MukherjeePosted Aug 29, 2021, 11:48 PM
Ahmet TahaPosted Aug 29, 2021, 10:32 PM
Arnab MukherjeePosted Aug 29, 2021, 1:09 PM
Hi, Using Visual Studio you can create a setup project and install prerequisites that you need during installation.The installation process is very simple and the end user can install application and prerequisites after clicking next buttons. Here are the steps for Creating a Setup Project:
Create a Setup Project
Add new project → setup and deployment → setup project
Right Click on Setup project and Add project Output and select primary output from your main project
Right Click on Setup project and Add project Output and select content files from your main project
Right Click on setup project and Click Properties and click Prerequisites and select SQL Server Express
Select .Net Framework
Select Windows Installer
Select radio button Download prerequisites from the same location as my application.
Right Click on Users Desktop at left pane and add new Shortcut and select application folder, primary output from SampleApplication, and click ok and the rename the short cut to what you need.
Rebuild solution.
Rebuild Setup Project
Go to Output directory of setup project and run setup.exe
It's that easy.
1. https://www.c-sharpcorner.com/UploadFile/996353/create-setup-and-deployment-project-in-visual-studio-200820/
2. https://stackoverflow.com/questions/32956142/how-to-deploy-application-with-sql-server-database-on-clients