Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将程序集添加到 GAC,但错误表明“将程序集添加到缓存失败:需要管理员权限才能使用所选选项。使用管理员命令提示符完成这些任务。”
我使用的是 Windows XP SP3,用户帐户类型是管理员。请参考下图。
TIA
http://i.stack.imgur.com/TZXpc.png
您是计算机上的管理员,但您没有以管理员身份运行 Visual Studio 命令提示符(或 cmd.exe)...
我能够通过命令提示符通过附加命令解决我的问题
C:\WINDOWS\system32>runas /user:computerName\administrator cmd
可能重复: <?= 是什么意思? Reference php × 1429865 c/c++ × 756500 nginx × 49975 mongodb × 159057 mybatis × 3233 anaconda × 13410 pycharm × 14671 python × 1902243 vscode × 56040 docker × 110988 github × 49000 flask × 49129 ffmpeg × 24037 jmeter × 16910 matplotlib × 63493 bootstrap × 54641