http://blog.csdn.net/heihei36/article/details/8923971

——————————————————————————————————————————————————

错误描述: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。

posted on 2016-09-01 10:31  网络大豆  阅读(677)  评论(0编辑  收藏  举报