Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Permissions issue when building a project

I am trying to get a project to build on a machine but i get the following:

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.

The user account i am using is an Administrator on the machine so should that not have the highest privileges?

I can go to the startup and right click and run as administrator and that might sort it, but im trying to do an automated build and run of this project, so i cant use that method.

Anyone know how i might fix this?

like image 441
discodowney Avatar asked Sep 03 '12 13:09

discodowney


1 Answers

Solution Explorer ->[YourProject]->Properties->Linker ->General->Per-user Redirection "TRUE"

like image 76
LittleFairy Avatar answered Oct 11 '22 21:10

LittleFairy