我正在尝试在机器上构建一个项目,但我得到以下信息:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(744,5): warning MSB3075: The command "regsvr32 /s "C:\builds\working\\Win32\Debug\projx86.dll"" exited with code 5. Please verify that you have sufficient rights to run this command.
The previous error was converted to a warning because the task was called with ContinueOnError=true.
Build continuing because "ContinueOnError" on the task "Exec" is set to "true".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(756,5): error MSB8011: Failed to register output. Please try enabling Per-user Redirection or register the component from a command prompt with elevated permissions.
我使用的用户帐户是机器上的管理员,所以不应该拥有最高权限吗?
我可以去启动并右键单击并以管理员身份运行,这可能会对它进行排序,但我试图自动构建和运行这个项目,所以我不能使用那个方法。
任何人都知道我可以如何解决这个问题?