gpt4 book ai didi

visual-studio - Visual Studio 2017 Live Visual Tree 不起作用

转载 作者:行者123 更新时间:2023-12-04 12:51:07 33 4
gpt4 key购买 nike

我无法启用 实时可视化树 Visual Studio 2017 用于 UWP 应用程序 (C#)。这个工具在 VS2015 上工作,但在 VS2017 中从来没有为我工作过。它对我的 WPF 项目没有问题。

我在 Live Visual Tree 中收到以下错误消息:

UI debugging requires the latest version of the SDK and the Universal Windows App Development Tools. Ensure that these tools are installed to enable UI Debugging.



我试过的:
  • 确保 Enable UI Debugging Tools for XAML已入住 Options/Debugging .
  • 重装 Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS

  • 我在 Web 或 Stack Overflow 中找不到有关该问题的任何信息(与 VS 2017 相关,尽管找到了一些有关 VS2015 的信息)。请帮忙。

    最佳答案

    联系微软后,他们告诉我检查我是否有以下文件:

    C:\Program Files (x86)\Windows Kits\10\bin\x86\XamlDiagnostics\XamlDiagnostics.dll



    我什至没有文件夹 XamlDiagnostics .

    然后我被问到 (重新)安装 Windows 10 SDK .我从 here 下载了最新的 SDK在我安装它之后,问题就消失了。

    非常感谢 Evgeny Tvorun [MSFT],他帮助我解决了这个问题。

    Visual Tree 工具真的很棒,没有它的那段时间我都感觉很失落。

    关于visual-studio - Visual Studio 2017 Live Visual Tree 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49802683/

    33 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com