C# -->Go to Definition ==> VB.NET

2019-02-26 15:52发布

问题:

I have a solution in VS 2010.

There are two DLL projects: one UserControl in C# WPF (myCSharpUC) and other - WinForm UserControl in VB.NET (myVbUC)

Actually in myCSharpUC I have an instance of myVbUC:

myCSharpUC {
    private MyVbUC vbControl;

    ...
    somemethod()
    {
       vbControl.MyProperty
    }
}

Is there a way to "navigate to definition" of MyProperty directly? (actually only metadata is displayed)

回答1:

It's a known issue, the workaround are two: use ctrl+, or use some plugin that add this function, like resharper (that will add this function in the F12).



回答2:

ReSharper's Navigate to External Sources?