1

I'm using Visual Studio 17.5.4 and .NET SDK 7.0.5

Upon creating a new WPF application, I have no XML documentation available in IntelliSense for the WPF library.

Browsing to source (F12) shows the library at C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.5\

This is in contrast to a WinForms app, which has the docs in IntelliSense, with F12 showing sources via SourceLink.

Am I missing something obvious?

Edit: Added screenshots as requested. Note how there is no documentation for the WPF framework classes.

Hovering over a WPF class (System.Windows.Window)

Go to definition (F12)

7
  • If possible, could you please clarify about this issue? What do you mean "the docs in IntelliSense"? Could you please provide some screenshots about your issue? :) Commented Apr 24, 2023 at 8:14
  • @BowmanZhu-MSFT I have added screenshots as requested. Note how there is no documentation for the WPF framework classes. Commented Apr 24, 2023 at 12:43
  • Hi, do you mean the source code after you press ctrl+"left click" is the documention you want? :) Commented May 9, 2023 at 2:38
  • @BowmanZhu-MSFT Yes, or when simply hovering over the class name for IntelliSense docs. The issue would seem to be that the XML docs are missing for the WPF library. Commented May 9, 2023 at 9:48
  • You mean press ctrl+"left click" can't go to the source code? I tested on my side and it seems work. Commented May 10, 2023 at 2:45

1 Answer 1

0

The issue has been identified and fixed in the upcoming release of dotnet (expected version - 7.0.9).

The reason for failure was the incorrect mapping version of the supporting libraries that were responsible for generating intellisense.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.