Where is Asp.net core 3.0 nuget packages?

前端 未结 1 1330
误落风尘
误落风尘 2021-01-06 01:58

I went to Nuget.org to fetch Microsoft.AspNetCore.Mvc.Core 3.0.0 but didn\'t find it, Is there any reason for Microsoft for not pushing these packages?

相关标签:
1条回答
  • 2021-01-06 02:30

    ASP.NET Core 3.0 is no longer shipped as nuget packages but a framework, which is included as a part of the SDK.

    To reference it from a project that does not use the web sdks, use this in your csproj file inside an <ItemGroup> element:

    <FrameworkReference Include="Microsoft.AspNetCore.App"/>
    

    This includes most packages that were formerly referenced from nuget.

    Note that you cannot add it to a project that uses the web sdks, as it is already added by the sdk by default.

    0 讨论(0)
提交回复
热议问题