I have Visual Studio 2017 Professional on a computer with Windows 10 Pro, and I noticed a problem when I add the assembly link (or add the nuget package)
For example, in my sample application, I added the following to the csproj file:
<PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.2" /> <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.2" /> <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.2" />
So when I try to write code that uses a package or link, I added that Visual Studio does not seem to recognize it. Even I try to automatically resolve the error using the command "Alt + Enter or Ctrl +", it does not show the correct link for use in the list.
See below:

I tried clearing the cache and also updated Visual Studio 2017 with the latest patch available.
If I close and open Visual Studio again, the problem disappears, but this is not an ideal solution.
Does anyone have any ideas on how I can solve this problem?
source share