Mohammad Akbari
Mohammad Akbari

Reputation: 4766

Visual studio 2017 go to implementation not work for .net standard library

In Visual studio 2017, Go to Implementation for .net standard library not work? Go to Implementation for .net core library work fine. but for .net standard throw

The symbol has no implementations

How can I solve this problem?

Upvotes: 7

Views: 4549

Answers (3)

Wolf
Wolf

Reputation: 6499

Delete .vs folder usually work. this folder is same place as your solution file enter image description here

Upvotes: 1

alesko
alesko

Reputation: 171

I found that changing from:

<TargetFramework>netstandard2.0</TargetFramework>

to:

<TargetFrameworks>netstandard2.0;netcoreapp3.1;net472</TargetFrameworks>

solved the problem.

Upvotes: 0

Kos
Kos

Reputation: 567

I am having the same issue after upgrading to .Net core 2.1. As work around I use

F12 then Ctrl+F12 from the Interface

Update: Seems like it is VS issue and there is no plan to be resolved soon

https://developercommunity.visualstudio.com/content/problem/111096/f12-go-to-definition-does-not-work-in-net-standard.html

Upvotes: 8

Related Questions