The “GetReferenceNearestTargetFrameworkTask” task was not found

前端 未结 5 430
无人共我
无人共我 2020-12-03 09:29

I have problem with autocompletion in VS 2017 Community.

Previously I had VS 2017 Enterprise from school, but key expired. So I moved to community.

Before,

5条回答
  •  庸人自扰
    2020-12-03 09:59

    Follow these to fix that error. This applies to VS 2017:

    Fix 1:

    1.Install Nuget PackageManager from here.

    2.Restart Visual Studio.


    If the problem is still there, continue below

    Fix 2:

    1.Download and start/run the Visual Studio Installer again.

    2.While the Visual Studio Installer is still running, go to the "Individual Components" tab

    3.Tick the "NuGet package manager" check-box that is under "Code tools" option.

    4.Click Install to install it.

    Screenshot of where this is located:

    That should fix the error you see in this question. Restart Visual Studio and test the auto-completion function. If it's not working, see the answers from this question as that is a whole different issue.

提交回复
热议问题