版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/huoliya12/article/details/79235128
问题描述:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(1620,5): error MSB8011: Failed to register output. Please try enabling Per-user Redirection or register the component from a command prompt with elevated permissions.
问题根源:
当前账号不是管理员无权限
解决方案:
1.用管理员权限登陆打开VS2013
2.Solution Explorer ->项目节点->鼠标右键->Properties->Linker ->General->Pre-user Redirection 设为TRUE 就好了。
对应的中文版是:
Solution Explorer ->项目节点->鼠标右键->属性->链接器->常规->逐用户重定向