hi
can anyone tell me..
how to creat exe file of c# project linked with sql server 2005(file to be installed on other pc).
How to creat exe file
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
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
Jean PaulRank #32 · 38.5K reputationPosted Feb 8, 2011, 4:48 AM EST
1) If you wanted just an exe file to be deployed, then you have to embed the sql server files inside your exe
as embedded files. On the first run on client machine you have to extract the sql server files to user machine.
This link could help you: http://jeanpaulva.wordpress.com/2011/01/19/saving-an-embedded-file-in-c/
2) If you wanted to create a setup application, you can add the dependency file into the setup project and bundle it.
3) If you needed sql server installation to happen, then setup pre-requisites should be added for it.