Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to run my winform project on another machine which has some grid view operations with databases but neither service based database works nor local database works in my machine then how could i run my project in another machine what softwares are neccessary to install in that pc?
i have mdf file of my project. How can i use this file?
Posted

1 solution

I suggest creating an installer. That should take care of any framework or libraries you need. There are plenty out there but the VS out-of-the-box one should suffice:

How to create a Setup package by using Visual Studio .NET[^]

read up and post again if you get stuck
 
Share this answer
 
v2
Comments
Member 11543226 27-May-15 6:56am    
It just create simple setup file which files need to add in this ? I added exe file of my project. but not worked.
Andy Lanng 27-May-15 7:05am    
The setup file should install the .Net framework, install any required libraries to the GAC and copy the exe on to the machine.

If you want to do it manually then install .Net framework on the machine (available on google) and copy the entire compiled folder of your application.

You can find the compiled folder in your project folder /bin/Debug or /bin/Release depending on how you compiled it.

Any extra libraries that are not in the GAC after .Net Framework is installed will be in the compiled folder along with your .exe file

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900