how can I publish a visual c++ project ?
-
Monday, December 08, 2008 2:36 PMI need to mention that I have visual studio 2008 professional
when I finish a project, I want to publish it...in visual c# and visual basic it exists such an option (from menu: build -> publish)
All Replies
-
Monday, December 08, 2008 4:45 PM
I do not think that Visual C++ supports ClickOnce deployments! This is purely a .NET feature....
Martin Hinshelwood
Team System MVP

- Marked As Answer by Martin Xie - MSFT Friday, December 12, 2008 1:25 PM
-
Wednesday, December 10, 2008 11:53 PM
The class designer does not support deployment at all. It's a class diagram editor.The Visual C++ development environment does not directly support deployment of Visual C++ projects with ClickOnce, but tools are available to use it. To get more information, search Deployment and Visual C++ or ask in an application deployment forum.
MSMVP VC++- Proposed As Answer by Xingwei Hu Friday, December 12, 2008 11:00 AM
- Marked As Answer by Martin Xie - MSFT Friday, December 12, 2008 12:54 PM
-
Friday, December 12, 2008 1:25 PM
Thank you Martin and Sheng for your friendly help. You're right.
Hi Ramoona,
Welcome to MSDN forums!
You couldn't deploy an unmanaged c++ application through ClickOnce, because c++ application is running a win32 executable, not a CLR app, and the .NET Framework wouldn't be able to figure out it's security and library requirements.
Please check this thread for detailed explanation and workaround.
http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/51b73a0a-c7cd-4c35-a28b-4595a20cdae3/
Alternatively, you can publish C++ project via Setup Project.
Detail: http://msdn.microsoft.com/en-us/library/ms235317.aspx
Best regards,
Martin Xie

