Asp.net core 3.0 nuget包在哪里? [英] Where is Asp.net core 3.0 nuget packages?

查看:312
本文介绍了Asp.net core 3.0 nuget包在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我去了Nuget.org来获取Microsoft.AspNetCore.Mvc.Core 3.0.0,但没有找到它,Microsoft是否有任何理由不推送这些软件包?

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?

推荐答案

ASP.NET Core 3.0不再作为nuget软件包提供,而是作为框架提供,该框架作为SDK的一部分包含在内.

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

要从不使用Web SDK的项目中引用它,请在您的csproj文件中的<ItemGroup>元素内使用它:

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"/>

这包括以前从nuget引用的大多数软件包.

This includes most packages that were formerly referenced from nuget.

请注意,您不能将其添加到使用Web SDK的项目中,因为默认情况下,SDK已将其添加.

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

这篇关于Asp.net core 3.0 nuget包在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆