Can I run RegAsm without being Administrator?

后端 未结 5 1332
醉话见心
醉话见心 2021-02-03 12:11

My coworker is trying to register some COM components (which I wrote) via RegAsm.exe and it says he needs Administrator privileges. His account has admin privileges but he is n

5条回答
  •  青春惊慌失措
    2021-02-03 12:27

    Admin privileges are required to allow Regasm.exe to update the registry. If this is a UAC restriction then create a shortcut on the desktop for cmd.exe and check the "Run this program as an administrator" checkbox. Or change this setting on the Visual Studio Command Prompt shortcut, that's easier.

提交回复
热议问题