You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With an Avalonia object/property under the caret pressing 'F12' or right clicking and selecting 'Go To Definition' will show an inline tooltip saying 'Please wait..' then doesn't navigate to the Avalonia source file.
To Reproduce
Install Avalonia 11.0.1 or above
Right click project in Solution Explorer and Select 'Add New Item...'
Pick 'Avalonia Window' and click 'Ok'
Open 'Window1.axaml.cs' in Text Editor
Move caret to the word 'Window' in the : Window class declaration
Press F12
Expected behavior
The source file for Avalonia.Controls.Window will be opened.
Screenshots
Desktop (please complete the following information):
OS: Windows 11
Version 11.0.1
Additional context
I have confirmed that other external sources navigate properly and downgrading to 11.0.0 works as expected.
The cause is #12216: symbol files at runtime from implementation assemblies (lib folder in nuget) are now external pdb files, and work fine while debugging / stepping into code.
However, we generate additional reference assemblies (ref folder), which are used only at build time and by the IDE. These are still using embedded pdb, but are now empty. I'll fix that.
Describe the bug
With an Avalonia object/property under the caret pressing 'F12' or right clicking and selecting 'Go To Definition' will show an inline tooltip saying 'Please wait..' then doesn't navigate to the Avalonia source file.
To Reproduce
Install Avalonia 11.0.1 or above
: Window
class declarationExpected behavior
The source file for
Avalonia.Controls.Window
will be opened.Screenshots
Desktop (please complete the following information):
Additional context
I have confirmed that other external sources navigate properly and downgrading to 11.0.0 works as expected.
This maybe unrelated but I noticed in 'What's Changed' for 11.0.2 there's mentioning of Use embedded pdb for analyzers and build tasks by @MrJul in #12336
The text was updated successfully, but these errors were encountered: