I can#39;t add reference in Visual Studio 2017(我无法在 Visual Studio 2017 中添加参考)
问题描述
我现在在 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 中添加参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:我无法在 Visual Studio 2017 中添加参考
基础教程推荐
- C# 9 新特性——record的相关总结 2023-04-03
- 从 C# 控制相机设备 2022-01-01
- Mono https webrequest 失败并显示“身份验证或解密失败" 2022-01-01
- 更新 Visual Studio 中的 DataSet 结构以匹配新的 SQL 数据库结构 2022-01-01
- 如果条件可以为空 2022-01-01
- 将数据集转换为列表 2022-01-01
- SonarQube C# 分析失败“不是指针的有效行偏移" 2022-01-01
- 重新排序 WPF TabControl 中的选项卡 2022-01-01
- 在 VB6 或经典 ASP 中使用 .NET 2022-01-01
- 获取C#保存对话框的文件路径 2022-01-01
