MageUI.exe删除compatibleFrameworks元 [英] MageUI.exe removes compatibleFrameworks element

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

问题描述

我们使用MageUI.exe手动创建不同的版本,我们的ClickOnce部署的开发,测试和生产。我们改变的发布的才能有程序图标显示在开始菜单中的一个单独的文件夹。我们使用MageUI.exe版本在<一href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b"相对=nofollow>微软Windows SDK的Windows 7和.NET Framework 4 (又名微软视窗人员 7.1)。这个版本说明4.0.30319.1因为它的版本号。

We use MageUI.exe to manually create different versions of our ClickOnce deployment for development, test and production. We change the Publisher in order to have the program icon appear in a separate folder of the Start Menu. We use the MageUI.exe version in the Microsoft Windows SDK for Windows 7 and .NET Framework 4 (AKA Microsoft Windows SDK 7.1). This version shows 4.0.30319.1 as its version number.

我们的。应用的-files包含&LT; compatibleFrameworks&GT; 元素,这是需要.NET 4.0的部署

Our .application-files contain a <compatibleFrameworks> element, which is needed for .NET 4.0 deployments.

通常情况下,当我们修改的。应用的文件并将其保存时,&LT; compatibleFrameworks&GT; 元素保持不变。到目前为止好。

Normally, when we modify the .application file and save it, the <compatibleFrameworks> element remains untouched. So far so good.

但是...当我们保存文件两次,&LT; compatibleFrameworks&GT; 元素突然从。应用的 - 文件删除!

But... when we save the file twice, the <compatibleFrameworks> element is suddenly removed from the .application-file!

这似乎是一个非常奇怪的错误给我。为什么会MageUI.exe做别的事情的时候,你救了两次?!

This seems like a very strange bug to me. Why would MageUI.exe do something else when you save twice?!

假设这是一个错误,<一个href="https://connect.microsoft.com/VisualStudio/feedback/details/671776/mageui-exe-removes-compatibleframeworks-element-from-application-file"相对=nofollow>我也报告给微软。

不幸的是,微软不会解决它。

Unfortunately, Microsoft won't fix it.

(这个问题是相似的 <一个href="http://stackoverflow.com/questions/3471194/mageui-not-including-compatibleframeworks-element">MageUI.exe不包括compatibleFrameworks元素 的,但不完全是。)

(This question is similar to MageUI.exe is not including a compatibleFrameworks element but not exactly.)

推荐答案

尝试使用mageui的,是专门提供给.NET框架4的版本。

Try using the version of mageui that is specifically provided for the .NET 4 Framework.

这是在这里:
C:\ Program Files文件(x86)的\微软的SDK \的Windows \ v7.0A \ BIN \ NETFX 4.0工具| 或在这里:
C:\ Program Files文件\微软的SDK \的Windows \ v7.0A \ BIN \ NETFX 4.0工具

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

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

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