在哪里可以找到 Microsoft.VisualStudio.DebuggerVisualizers?

发布于 2024-08-01 12:57:12 字数 367 浏览 2 评论 0原文

由于缺少程序集,项目将无法编译。 导致错误的文件有一个

using Microsoft.VisualStudio.DebuggerVisualizers;

VisualStudio 部分标记为红色。 我必须安装什么才能修复它? 对我来说,这听起来像是 Visual Studio 附带的东西,但这就是我正在使用的,所以它已安装...

澄清:我知道它存在于哪个程序集中,并且引用会提前添加到项目引用中。 但我怎样才能得到它呢? 我必须安装什么 SDK? 或者我在安装 Visual Studio 时忘记勾选某些内容?

A project won't compile because of a missing assembly. The file that causes the error has a

using Microsoft.VisualStudio.DebuggerVisualizers;

The VisualStudio part is marked in red. What do I have to install to fix it? To me it sounds like something that would have come with Visual Studio, but that is what I am using, so it is installed...

Clarification: I know what assembly it exists in, and the reference is added earlier to the project references. But how do I get it? What SDK do I have to install? Or have I forgotten to check something off when I installed Visual Studio?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

〗斷ホ乔殘χμё〖 2024-08-08 12:57:13

您应该能够在“添加引用”对话框中的“.NET”程序集列表下找到该程序集。

You should be able to find the assembly under the ".NET" list of assemblies in the "Add Reference" dialog.

浮华 2024-08-08 12:57:13

对于仍在寻找此内容的任何人 - 它已移至 NuGet

To anyone still looking for this - it's been moved to NuGet

画骨成沙 2024-08-08 12:57:13

您应该能够在 .Net 选项卡的“添加引用”对话框中找到它。

如果没有,则 Microsoft.VisualStudio.DebuggerVisualizers.dll 位于 Visual Studio 安装目录的 Common7\IDE\PublicAssemblies 子目录中。 您可以从那里手动添加它。

You should be able to find it in the "Add Reference" dialog in the .Net tab.

If not, the Microsoft.VisualStudio.DebuggerVisualizers.dll lives in the Common7\IDE\PublicAssemblies subdirectory of Visual Studio's installation directory. You could add it manually from there.

并安 2024-08-08 12:57:13

对于 Visual Studio 2010,Microsoft.VisualStudio.DebuggerVisualizers 程序集位于 C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0 下(或相关的程序文件根目录)。

对于面向 Visual Studio 2010 的调试器可视化工具,它必须引用此程序集的 10.0 版本,否则它将失败并出现无效转换异常。

For Visual Studio 2010 the Microsoft.VisualStudio.DebuggerVisualizers assembly exists under C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0 (or relevant Program Files root).

For a debugger visualizer to target Visual Studio 2010 it must reference the 10.0 version of this assembly or it will fail with an invalid cast exception.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文