错误描述:C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(744,5): error MSB8011: Failed to register output. Please try enabling Per-user Redirection or register the component from a command prompt with elevated permissions.
形成原因:个人理解是由于在WIN7以上版本,只有管理员权限才可以运行regsvr32.exe程序,也就是说只有管理员权限才能够注册控件或者DLL。
解决方法:
一、运行VS2010时,右键以管理员权限运行,不要直接打开VS2010。
二、工程-->Propertier-->Linker-->General-->Register Output-->NO。

在Windows 7及以上版本中,由于权限限制,非管理员用户无法执行regsvr32操作导致MSB8011错误。解决方法包括以管理员权限运行VS2010或在工程属性中设置Linker不注册输出。
1753

被折叠的 条评论
为什么被折叠?



