How do I publish a C++/CLI Windows Forms project for ClickOnce deployment? The properties window for C++/CLI projects does not include a "Publish" tab (like in the C# projects).
+1
A:
You can follow the guidelines for manually deploying a ClickOnce application on MSDN.
This relies on the Windows Software Development Kit and command line tools instead of Visual Studio to do your deployment.
Just another note with this - if you can, I'd recommend trying to migrate to /clr:pure if possible. If you're working with native code, this won't work, but if it's a pure windows forms app, it will make the deployment scenario simpler, since you'll have fewer issues in ClickOnce with CAS requirements.
Reed Copsey
2009-05-05 15:54:43
Ya, PURE it is. Unfortunately my experience has been the primary benifit of C++/CLI is for managed/native I/O. PURE's model is usually prohibative :( It's actually one of my pet peeve's, this and the lack of 64bit/32bit mixed mode debugging support.. :|
RandomNickName42
2009-05-19 04:48:04
+1
A:
You cannot ClickOnce deploy an exe written in unmanaged code. The standard approach is to create a managed code stub exe that would launch your actual application.
Here's a related question.
whatknott
2009-05-05 18:04:24