.NET 5 not available in Visual Studio 2019

后端 未结 5 695
深忆病人
深忆病人 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:39

    Specs: VS Version 16.8.0

    Target Version of .Net Core: 5.0

    You must have version 16.8.0 in order to have .Net Core 5.0

    If you still have problems with Visual Studio not showing .Net Core 5.0 in Visual Studio version 16.8.0 (and assuming you downloaded the .NET Core 5.0 SDK for Visual Studio), well, apparently (and correct me if I'm wrong) it is now called just .Net 5.0, omitting the Core.

    After selecting .NET 5.0, I was able to install other libraries which are currently version 5.0+ and dependent on .NET Core 5.0+

    Is the new name intentional? Anyways, here some evidence of this working (I was able to install the newest version of Newtonsoft and Entity Framework for .Net Core):

    Funny enough, when I try to create a new .Net Core project, the version shows up as expected:

    I'm very sorry for my English!

提交回复
热议问题