在 VS2010 的 GAC 中引用 .Net 4.0 程序集
有人这样做过吗?
我创建了一个程序集并将其安装到 GAC。它列在 gacutil 中,我可以在 c:\windows\microsoft.net\ assembly 文件夹中看到它。
我发现有人说添加注册表项,但他们指定的文件夹不存在,当我创建它们时,我的程序集仍然没有出现在列表中。
我尝试过 Muse VSExtensions 但它也找不到程序集,我认为它没有找到 .net 4 程序集文件夹。
我已成功通过手动编辑项目文件来添加引用来添加对程序集的引用。这工作得很好,但远非理想。
任何帮助将不胜感激。
谢谢
Has anyone done this?
I have created an assembly and installed it to the GAC. It's listed in gacutil and I can see it in c:\windows\microsoft.net\assembly folder.
I have found people saying to add registry keys, but the folders they specify don't exist, and when I create them, my assembly is still not appearing in the list.
I have tried Muse VSExtensions but it doesn't find the assembly either, I don't think it picks up the .net 4 assembly folder.
I have managed to add a reference to my assembly by manually editing the project file to add the reference. This worked fine but is far from ideal.
Any help would be appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您只想在添加引用对话框中看到它,则只需将文件安装到然后
人们可以从那里添加引用,而您无需担心 GAC 或注册表。
If you just want to see it in the add referances dialog you only need to install the file into the
then people can add referances from there and you do not need to worry about the GAC or the registry.