views:

46

answers:

1

I've got a ClickOnce .NET 4 app deployed by VisualStudio 2010, via UNC Path. I open the .application file, change the startup location to use the http address, sign, and close. The app then gives this error: - Application manifest does not accept specification of .

Does anyone know how to get MageUI to include this needed element when I sign?

This is similar to: http://stackoverflow.com/questions/2654320/why-does-mage-not-generate-a-compatibleframeworks-attribute

I've tried opening MageUI from the location suggested, to no avail, and I'd really rather not have to use MSBuild. This is a simple app and I'd much prefer Visual Studio's simple built in deployment.

Also, in case anyone's wondering, I can't deploy via http through visual studio because that requires frontpage extensions to be installed, among other reasons.

+1  A: 

Try using the mageui version from the .NET 4 folder, which is here:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools

By the way, you can set the publishing file location to the UNC share path and the installation URL to your HTTP address and THEN publish. It will put the files on the share but the installation URL will be set. If that's all you're changing, that would be easier all the way around.

Also, just FYI, you can publish with FTP (publishing file location is something like ftp://myserver/myfolder/) if you don't want (or can't) to install the FPSE.

RobinDotNet
Thanks for the response. I'm honestly now having trouble reproducing the original problem consistently, so I'm going to just run with your other idea, and deploy with the installation folder http, and the publish location UNC. We can have our server admin install Visual studio to do the same thing with prod, and hopefully that wil solve this problem.
Adam