Question : VS 2008: access rights under windows 7 when building an assembly

Hi X-perts,

If I click a VS 2008 solution file, it opens OK in Visual studio, but I cannot build it as it returns an error:

Cannot unregister assembly "C:\Data2\xxx.dll" - access denied. Please make sure you're running the application as administrator. Requested registry access is not allowed.

If I first start VS with elevated rights as Administrator and then open the solution, it works OK.

Is there a workaround for this problem? I would prefer to click on the file and open it with elevated access.

Pls advise

Answer : VS 2008: access rights under windows 7 when building an assembly

It's a security problem ... you have to run as administrator or give administration rights to the user.
Random Solutions  
 
programming4us programming4us