VS22 GoToDefinition vs PeakDefinition

Ondřej Šafránek 1 Reputation point

Hi please help with this behaviour from VS22. Previous version was OK.

I make dll plugin in vb.net for autocad and my project is in vb.net. When I click right to some class (from referenced dll file) and select GoToDefinition, metadata are in Csharp, but I want it in vb.net. In previous times it was OK. And strange is when i select PeakDefinition, its OK in vb.net.

From begining metadata in Csharp when I use GoToDefinition:

region Assembly Acdbmgd, Version=, Culture=neutral, PublicKeyToken=null

// location unknown
// Decompiled with ICSharpCode.Decompiler


...and this one from metadata corectly in vb.net when I use PeakDefinition:

Region "Assembly Acdbmgd, Version=, Culture=neutral, PublicKeyToken=null"

' C:\Autodesk\ObjectARX_for_AutoCAD_2022_Win_64bit_dlm\inc\AcDbMgd.dll

End Region

Why the location is unknown when use GoToDef?

Thank you

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,125 questions
{count} votes