No XML documentation / IntelliSense for WPF

164 Views Asked by At

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)

1

There are 1 best solutions below

0
Pankaj On

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.