I've started creating a project in C#, using visual studio 2005, and finished the same project in visual studio 2010 and now I don't know how to create a setup file so I can use that program on computers that don't have any visual studios installed.. Can somebody help, it's quite urgent?
4 replies to this topic
#1
Posted 22 September 2011 - 02:55 AM
|
|
|
#2
Posted 22 September 2011 - 04:37 AM
In your project, click build (top menu) than publish
It's the basic setup file, the user will not be able to modify the path where it will be installed, but it work just fine
It's the basic setup file, the user will not be able to modify the path where it will be installed, but it work just fine
#3
Posted 22 September 2011 - 07:29 AM
I've tried what you said, and I get the file publish in the application folder, but when I install it, none of the pictures nor .txt files I used in the project work...It simply cannot find the path I specified in the debug folder.
#4
Posted 22 September 2011 - 07:42 AM
Do you use relative or absolute path?
#5
Posted 22 September 2011 - 08:00 AM
well. i'm not sure what you mean as relative... I use on ex, if i want a picture in the form, i write the code pictureBox1.Image=Image.FromFile("pic.jpg"); and put that picture in the bin/debug folder..
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









