Cannot build/create dll in Visual Studio because of admin rights??

Posted by Vidar on Stack Overflow See other posts from Stack Overflow or by Vidar
Published on 2010-05-19T10:55:47Z Indexed on 2010/05/19 11:00 UTC
Read the original article Hit count: 1533

Filed under:
|

I have local admin rights on the PC I am using - but some things are not allowed i.e. I can't right click on My Computer and see the properties!

Anyway I was trying to build my solution in Visual Studio - I just added a simple class library with barely any code in it and it won't build, it gives the error:

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3019,9): error MSB3216: Cannot register assembly "C:\Documents and Settings\fooUser\My Documents\Visual Studio 2008\Projects\FooSolution\Foo.Bar\bin\Debug\Foo.Bar.Utility.dll" - access denied. Please make sure you're running the application as administrator. Access to the registry key 'HKEY_CLASSES_ROOT\Record' is denied.

I take it I need FULL admin rights?? - although the project did compile before I made this class library - so I dont' understand why the addition of this library has had such a drastic effect now!

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about regasm