AvaloniaUI / AvaloniaVS

Visual Studio Extension for Avalonia
MIT License
412 stars 77 forks source link

Go to definition (F12) in visual studio 2022 community doesn't work #436

Closed chaofine closed 3 months ago

chaofine commented 6 months ago

Describe the bug

visual studio 2022 community , avalonia for vs 2022 11.5

hello everyone, I want browse source code of avalonia using Ctrl and click (same as F12), it couldn't jump to decompiled source code. but other dotnet built-in class (e.g. System.Threading.Tasks) can. Anyone has same problem?

To Reproduce

visual studio 2022 community , avalonia for vs 2022 11.5 Ctrl and click or use F12

AvaloniaVS plugin version

11.5

Avalonia version

11.0.2

Visual Studio version

visual studio community 2022 17.5.5

Relevant log output

nothing output

Additional context

No response

dpieve commented 3 months ago

From the .axaml file it is not possible. But I can go to a definition from a .axaml.cs or .cs file. I just press F12 on top of their names. I use VS Community 17.9.5. I tried Grid, StackPanel, Point and Colors, all of them are under the namespace Avalonia. I'm not sure if that's what you meant, but if it is, it works here

maxkatz6 commented 3 months ago

Duplicate of https://github.com/AvaloniaUI/AvaloniaVS/issues/385