C#->转到定义==> VB.NET [英] C# -->Go to Definition ==> VB.NET

查看:123
本文介绍了C#->转到定义==> VB.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS 2010中有一个解决方案。

I have a solution in VS 2010.

有两个DLL项目:一个C#WPF中的UserControl(myCSharpUC)和另一个-VB.NET中的WinForm UserControl( myVbUC)

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

实际上在myCSharpUC中,我有一个myVbUC的实例:

Actually in myCSharpUC I have an instance of myVbUC:

myCSharpUC {
    private MyVbUC vbControl;

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

是否可以直接导航到 MyProperty 的定义? (实际上仅显示元数据 )。

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

推荐答案

这是一个已知问题,解决方法有两个:使用 ctrl +,或使用一些添加了此功能的插件,例如resharper(在 F12 )中添加此函数。

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).

这篇关于C#->转到定义==> VB.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆