我现在在 Visual Studio 2017 中添加引用时遇到问题.所以基本上,我单击了我的项目以显示折叠菜单,您可以在其中查看文件夹、属性和引用.我右键单击References 并选择Add reference.出现错误并显示无法完成操作.不支持此类接口".
I'm having issues right now on adding reference in Visual Studio 2017. So basically, I clicked on my project to show the collapsed menu where you can see folders, properties, and references. I right clicked References and chose Add reference. An error shows up and it says "The operation could not be completed. No such interface supported".
我目前使用的是 Microsoft Visual Studio Community 2017 版本 15.2.
I'm currently using Microsoft Visual Studio Community 2017 Version 15.2.
这个帖子帮我解决了这个问题:
This thread helps me resolve the issue:
https://developercommunity.visualstudio.com/content/problem/28126/unable-to-add-reference-in-visual-studio-2017-refe.html
总结一下,线程说我需要在缓存中添加某个 .dll 文件供我添加引用.不知道为什么会出现这个问题,但我希望它对遇到相同问题的人有所帮助.
Just to sum it up, the thread says that I need to add a certain .dll file on the cache for me to add References. Not sure why this issue occur but I hope it helps anyone who encounters the same issue.
这篇关于我无法在 Visual Studio 2017 中添加参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!