Ok I have Googled for the answer but couldn't find one. I want to run my project on another computer without visual studio. I have created a setup file but after installing also i need visual studio.Isn't there any another way round?

Which program are you using to create the setup script?

You need to pack the .exe in the setup, not the solution.

The .exe can be found in the project bin/release folder.

You will need to package all libraries that are not a commonly installed library too.

To do this, go to your project settings > references and set all references to copy local.

When you create your script for the setup, you will need to include these .dlls to the script.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.