error MSB8011: 未能注册输出。请尝试启用“逐用户重定向”,或者使用提升的权限从命令提示符处注册该组件
2011-12-19 10:12
656 查看
原文:http://www.cppblog.com/yanjie2500/archive/2011/07/22/144277.html
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.这种变化会过滤掉不兼容的平台。
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.这种变化会过滤掉不兼容的平台。
相关文章推荐
- VS2010编译报错:error MSB8011: 未能注册输出。请尝试启用“逐用户重定向”,或者使用提升的权限从命令提示符处注册该组件
- error MSB8011: 未能注册输出。请尝试启用“逐用户重定向”,或者使用提升的权限从命令提示符处注册该组件
- error MSB8011: 未能注册输出。请尝试启用“逐用户重定向”,或者使用提升的权限从命令提示符处注册该组件
- OCX视频插件问题记录-1 error MSB8011: 未能注册输出。请尝试启用“逐用户重定向”,或者使用提升的权限从命令提示符处注册该组件
- 请尝试启用“逐用户重定向”,或者使用提升的权限从命令提示符处注册该组件 错误解决
- ocx链接错误 Project : error PRJ0050: 未能注册输出。请尝试启用“每个用户的重定向”,或者用提升的权限从命令提示窗
- error MSB8011:未能注册输出。请尝试启用“逐用户重定向”
- error MSB8011: 未能注册输出。请尝试启用“逐用户重定向”
- error MSB8011: 未能注冊输出。请尝试启用“逐用户重定向”
- “error PRJ0050: 未能注册输出。请确保您有修改注册表的相应权限。” 上网找了一下次问题的解决方案 工程设置的问题,VS2005建的STL工程中默认的设置是: ALT的使用:动态链接到 A
- 限制使用su命令的用户与使用sudo机制提升权限
- vista忘记用户名密码的修改方法(使用PE进入系统,用cmd.exe冒充虚拟键盘,然后就可以mmc组策略,或者命令行添加用户并提升权限)
- Linux七天系列(第一天:文件操作、用户权限 、软链接与硬链接 、文件压缩与解压、通信命令、命令链接符 、输入/输出重定向)
- 常用sql命令@oracle数据类型概括@权限、角色、用户的创建于使用@伪列及其注意事项
- Mac OS X 启用超级用户 sudo -s 获得系统权限 Mac终端命令
- error PRJ0050: 未能注册输出。请确保您有修改注册表的相应权限错误的解决
- 一个小提醒:不要在用户控件或者组件使用PAGE对象
- 【python中调用shell命令使用PIPE】使用PIPE作为stdout出现假卡死的情况——将stdout重定向为输出到临时文件
- Sudo控制普通用户使用命令的权限
- Windows Media 数字权限管理(DRM)组件遇到问题。如果您正在尝试使用从在线商店获取的文件,请到在线商店并获取适当的使用权。