在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,添加就可以
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,添加就可以
相关文章推荐
- 深入浅出InfoPath——如何在项目中引用GAC中的dll文件
- Visual Studio中的引用项目和直接引用DLL文件
- 在Visual Studio项目中根据系统平台自动引用32或64位的DLL
- Visual Studio使用技巧笔记(引用程序集自动复制dll到引用项目目录)
- Windows Phone开发,引入dll出现“无法向项目中添加对较高版本或不兼容程序集的引用”
- WP开发 - 引入dll出现“无法向项目中添加对较高版本或不兼容程序集的引用”
- 在Visual Studio项目中根据系统平台自动引用32或64位的DLL
- java开发的web项目引用dll
- Windows Phone开发,引入dll出现“无法向项目中添加对较高版本或不兼容程序集的引用”
- Visual Studio 开发web应用程序时如何在项目中引用自定义类
- 移动项目开发笔记(管理不同解决方案下的DLL文件相互引用之心得体会)
- Visual Studio开发Opencv项目遇到“程序无法启动问题”(ntdll.dll)
- Visual Studio 开发web应用程序时如何在项目中引用自定义类
- Visual Studio 开发web应用程序时如何在项目中引用自定义类
- windows应用项目开发步骤(Visual Studio 2010)
- Visual Studio中的引用项目和直接引用DLL文件
- Unity3D-RPG项目实战(3):整合Visual Studio 2013开发环境
- .net在同一个项目中要引用两种不同版本的dll(dll hell)的解决办法
- C#调用MFC程序DLL库——MFC项目DLL生成问题、DLL引用链问题、DLL读取配置文件路径问题
- 使用Visual Studio 2015 开发ASP.NET MVC 5 项目部署到Mono/Jexus