“转到实施"以“该符号没有实现"结尾 [英] "Go to Implementation" ending up with "The symbol has no implementations"

查看:66
本文介绍了“转到实施"以“该符号没有实现"结尾的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当右键单击例如Visual Studio 中的一个方法并选择 Go To Implementation 它告诉我

<块引用>

该符号没有实现

我试过

services.AddDbContext(options =>options.UseSqlServer(Configuration.GetConnectionString("RazorPagesMovieContext")));

其中 AddDbContext 实际上是 Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions 的一部分

是否可以让 Go To Implementation 工作,因为 .NET Core 和 ASP.NET Core 是开源的?我不想为此手动转到 Github 存储库.Ì如果 Visual Studio 不能直接实现,是否有任何插件可以实现这一点?

为了完整起见:我使用的是 Visual Studio 2019 Preview 和 .NET Core Preview 5.

解决方案

<块引用>

我不想为此手动转到 Github 存储库.Ì如果 Visual Studio 不能直接实现,是否有任何插件可以实现这一点?

如果您的唯一目的是快速浏览数据并查看代码实现,您可以使用 source.dot 快速完成此操作.net

When right clicking on e.g. a method in Visual Studio and selecting Go To Implementation it tells me

The symbol has no implementations

I tried with

services.AddDbContext<RazorPagesMovieContext>(options =>
                options.UseSqlServer(Configuration.GetConnectionString("RazorPagesMovieContext")));

where AddDbContext is actually part of Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions

Is it possible to get Go To Implementation working, as .NET Core and ASP.NET Core are open source? I don't want to manually go to the Github repository for that. Ìf it's not directly possible with Visual Studio, are there maybe any plugins that make this possible?

For the sake of completeness: I am using Visual Studio 2019 Preview and .NET Core Preview 5.

解决方案

I don't want to manually go to the Github repository for that. Ìf it's not directly possible with Visual Studio, are there maybe any plugins that make this possible?

If your only intention is to quickly browse data, and see code implementation, you can do this quickly using source.dot.net

这篇关于“转到实施"以“该符号没有实现"结尾的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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