且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我可以在没有管理员身份的情况下运行RegAsm吗?

更新时间:2023-01-15 09:32:51

必须具有管理员权限才能允许Regasm.exe更新注册表。如果这是UAC限制,请在桌面上为cmd.exe创建一个快捷方式,然后选中以管理员身份运行该程序复选框。或在Visual Studio命令提示符快捷方式上更改此设置,更容易。

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.