.NET 5 not available in Visual Studio 2019

后端 未结 5 699
深忆病人
深忆病人 2021-01-07 16:09

I have downloaded and installed .NET Core 5.0 SDK (v5.0.100-preview.1) in my Visual Studio 2019. But it is not available in Target framework. Am I missing something?

5条回答
  •  感动是毒
    2021-01-07 16:56

    I upgraded my version of Visual studio from 16.7.x to 16.8.1. I expected NET 5 to be listed as a target framework, but it was not.

    I had previously created projects in 16.8 preview 6 using RC1.

    Visual Studio Install did not list .NET 5 as an individual component either. I then downloaded and installed the x64 SDK. Still no luck. .NET5 was still missing as a target framework for VS 16.8.x

    Today I opened VS Installer and from the More dropdown menu selected Repair . The repair process took 25-30 minutes to run, but now .NET Core 3.1 and .NET 5 are listed in all the usual places.

    Norm

提交回复
热议问题