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。
解决方法:
一、运行VS时,右键以管理员权限运行,不要直接打开VS。
二、工程–>Propertier–>Linker–>General–>Register Output–>NO。