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 中添加参考
基础教程推荐
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- WPF 模态进度窗口 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
