Debug or build as non-admin in Visual Studio 2008

vsinstaller

New member
Joined
Aug 24, 2009
Messages
2
Programming Experience
1-3
I have installed Visual Studio 2008 at a university's computer lab. The lab machines (XP Pro) are configured so that students don't have Administrator rights when they log in. So when I try to build or debug a class library project in Visual Studio 2008, I get this error: "Cannot register assembly 'C:\Documents and Settings(username)\My Documents\Visual Studio 2008\Projects\testproj\testproj\bin\Debug\testproj.dll' - access denied. Please make sure you're running the application as administrator. Access to the registry key 'HKEY_CLASSES_ROOT\test.cmdTest' is denied."

In previous versions of Visual Studio, there was the option to add the non-admin account to the Debugger Users and VS Developers groups, and this would enable them to debug and build DLLs. Does Visual Studio 2008 include similar functionality, and would this even be the solution? I'm not seeing the groups added with the installation. If this functionality is not included, is there another way to solve this issue? Allowing students to have Admin rights or Power User rights to the machines is out of the question.

Any suggestions, ideas, or insight would be much appreciated.
 
As a college instructor myself, I feel your pain. However, our computers are also running Windows XP but we have VB Express 2008 installed and do not have that problem you describe.

If you were to install the Express edition instead of the Pro edition, do you still get the same problem?
 
Back
Top