error MSB8011: 未能注册输出。请尝试启用“逐用户重定向”,或者使用提升的权限从命令提示符处注册该组件

 
Solution Explorer ->项目节点->鼠标右键->Properties->Linker ->General->Pre-user Redirection 设为TRUE 就好了。

原来是我自己把注册  .rgs文件编码改成 utf8 之后,注册失败了 。。。 跟 vs 和 windows7 没有关系 。。。。

We have fixed your issue for the next release. You can workaround the issue via editing a MSBuild file in "%Programfiles%\msbuild\microsoft.cpp\v4.0\Microsoft.cppcommon.targets". Please backup the file before making any changes.
Please change:
<Target Name="RegisterOutput"
         Condition="'$(EmbedManifest)'=='true' and '$(LinkSkippedExecution)' != 'true'">
To: 
<Target Name="RegisterOutput"
         Condition="'$(EmbedManifest)'=='true' and '$(LinkSkippedExecution)' != 'true' and ('$(_IsNativeEnvironment)' == 'true' or '$(Platform)' == 'Win32')">
The change will filter out incompatable platforms.
我们有固定的下一个版本的问题。   You can workaround the issue via editing a MSBuild file in "%Programfiles%\msbuild\microsoft.cpp\v4.0\Microsoft.cppcommon.targets".你可以通过编辑解决方法发出的MSBuild文件“的%ProgramFiles%\ MSBuild的\ microsoft.cpp \ 4.0 \ Microsoft.cppcommon.targets”。   Please backup the file before making any changes.在进行任何更改之前请备份该文件。
The change will filter out incompatable platforms.这种变化会过滤掉不兼容的平台。  
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值