MageUI.exe不包括compatibleFrameworks元 [英] MageUI.exe is not including a compatibleFrameworks element

查看:238
本文介绍了MageUI.exe不包括compatibleFrameworks元的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ClickOnce的.NET 4应用程序部署的Visual Studio 2010中,通过的 UNC 路径。我打开的。应用的文件中,将使用HTTP地址,登录,并关闭启动位置。然后,应用程序给出了这样的错误:

I've got a ClickOnce .NET 4 application deployed by Visual Studio 2010, via a UNC path. I open the .application file, change the startup location to use the HTTP address, sign, and close. The application then gives this error:

应用程序清单不接受规范的< compatibleFrameworks>

Application manifest does not accept specification of <compatibleFrameworks>.

我如何得到 MageUI.exe 包括这个必要元素当我签名了吗?

How do I get MageUI.exe to include this needed element when I sign?

这是类似于堆栈溢出问题的 为什么Mage.exe不会产生compatibleFrameworks属性?

This is similar to Stack Overflow question Why does Mage.exe not generate a compatibleFrameworks attribute?.

我试图从该位置打开MageUI建议,但没有成功,而我真的宁可不要使用的的MSBuild 。这是一个简单的应用程序,而我更preFER Visual Studio的简单的内置部署。

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 application, and I'd much prefer Visual Studio's simple built-in deployment.

另外,如果任何人的怀疑,我可以通过HTTP通过Visual Studio不能部署,因为这需要FrontPage扩展要安装,除其他原因。

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.

推荐答案

尝试使用MageUI.exe版本的.NET 4的文件夹,它是:

Try using the MageUI.exe version from the .NET 4 folder, which is in:

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

顺便说一句,您可以设置发布文件位置的UNC共享路径和安装URL的HTTP地址,然后发布。这将提上共享的文件,但安装URL将被设置。如果这就是你改变,那将是更容易周围的所有道路。

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.

此外,仅供参考,你可以用FTP发布(发布文件的位置是一样的东西的ftp:// MYSERVER / MyFolder中/ ),如果你不希望(或者不能)安装 FPSE

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

这篇关于MageUI.exe不包括compatibleFrameworks元的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆