您的位置:首页 > 其它

在Visual Studio开发的项目中引用GAC中的dll

2017-08-10 12:11 267 查看
Open the windows Run dialog (Windows Key + r)

Type C:\Windows\assembly\gac_msil. This is some sort of weird hack that lets you browse your GAC. You can only get to it through the run dialog.

Find your assembly and copy its path from the address bar.

Open the Add Reference dialog in Visual Studio and choose the Browse tab.

Paste in the path to your GAC assembly.

在Visual Studio中,选中项目,右键选择"Property Pages", 打开后,左边中选择"References", 点击"Add.." 输入上面3步中的路径,找到那个GAC中的dll,添加就可以



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐