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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Arnab MukherjeeRank #879 · 2.5K reputationPosted Aug 29, 2021, 9:09 AM EDT
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
Ahmet TahaRank #3,505 · 414 reputationPosted Aug 29, 2021, 6:32 PM EDT
Arnab MukherjeeRank #879 · 2.5K reputationPosted Aug 29, 2021, 7:48 PM EDT
Ahmet TahaRank #3,505 · 414 reputationPosted Sep 2, 2021, 5:00 AM EDT
Arnab MukherjeeRank #879 · 2.5K reputationPosted Sep 2, 2021, 9:02 AM EDT