Click here to Skip to main content
16,021,125 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello folks, I have a question:
I've developed an application in C# with Visual Studio 2010 and into my solution i have 2 Projects: The application itself and the setup project.

What's the difference between Publish and just compiling the setup project?
Also when I publish the project doesn't create the links that must create the setup project.

Thanks in advance.
Best Regards.
Posted
Updated 16-Dec-10 4:30am
v2

The publish option is used with ClickOnce deployment as shown here[^].
 
Share this answer
 
Comments
Pablinff 16-Dec-10 10:29am    
Oh! now I'm understanding... so the better way for me is the compiling in release mode the setup project and use that output as main installer.
Thanks Hiren and Abhinav!!
Abhinav S 16-Dec-10 10:34am    
You are welcome!
Keep VS in release mode. and compile the project,
You will find .exe and .msi of your setup inside project Release directory.
 
Share this answer
 
Comments
Pablinff 16-Dec-10 9:59am    
Thanks Hiren, but then what is the purpose of Publish?
Cheers!
Hiren solanki 17-Dec-10 4:01am    
Your're welcome.

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