
答案1
這是一個錯誤,已按照以下方式修復: https://developercommunity.visualstudio.com/content/problem/657389/xml-schema-explorer-does-not-work.html
只需將 Visual Studio 2019 更新到最新版本即可。
更新:我使用的是 VS Professional 2019,修復程式位於補丁 16.3.4 中 - 我使用的是 16.3.3,但仍然遇到了該問題)。
答案2
我也有同樣的行為,我透過在擴充功能管理器中暫時停用 JetBrains ReSharper 擴充功能來解決這個問題。
這顯然是 Resharper 或 VS 中的錯誤。