我无法在Visual Studio 2017中添加参考 [英] I can't add reference in Visual Studio 2017

查看:97
本文介绍了我无法在Visual Studio 2017中添加参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在在Visual Studio 2017中添加引用时遇到问题。因此,基本上,我单击了项目以显示折叠菜单,您可以在其中查看文件夹,属性和引用。我右键单击参考,然后选择添加参考。错误出现,并显示操作无法完成。不支持此类界面。

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中添加参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆