question

Ondejafrnek-5415 avatar image
0 Votes"
Ondejafrnek-5415 asked TianyuSun-MSFT edited

VS22 GoToDefinition vs PeakDefinition

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=24.1.0.0, Culture=neutral, PublicKeyToken=null

// location unknown
// Decompiled with ICSharpCode.Decompiler 6.1.0.5902

endregion


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

Region "Assembly Acdbmgd, Version=24.1.0.0, 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

vs-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Ondejafrnek-5415 , welcome to Microsoft Q&A forum. This issue maybe appear in specific condition, could you share detailed steps with me to reproduce this issue(as I tested on my side with normal created dll file but the go to definition feature worked well)?

0 Votes 0 ·

0 Answers