简体   繁体   English

如果已经安装了SDK,为什么需要使用nuget将ASP.NET Core软件包添加到项目中?

[英]Why do I need to use nuget to add ASP.NET Core packages into my project if I already have the SDK installed?

This doesn't make sense to me. 这对我来说没有意义。 If they're already on my system, shouldn't a using declaration be enough? 如果它们已在我的系统上,使用using声明是否还不够?

我认为您没有使用asp.net核心项目模板(“文件”,“新项目”,“ Web”,“ ASP.NET核心Web应用程序(.NET Core)”。我选择了“空项目”之后,我引用了.NETCoreApp(以我的情况为1.0.1)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用ASP.net Core中已经存在的用户表在项目上添加身份验证? - How can I add authentication on my project using an already exist user table in ASP.net core? ASP.Net Core-在项目中哪里可以找到Nuget软件包的安装列表 - ASP.Net Core - Where to find the Nuget packages installed list in the project 列出 ASP.NET Core 中已安装的 NuGet 包 - List installed NuGet Packages in ASP.NET Core 我是否需要安装MS Word才能从asp.net创建Word文档? - Do I need to have MS Word installed for creating Word documents from asp.net? 尽管拥有正确的NuGet软件包,为什么我仍需要在计算机上安装MySQL连接器? - Why do I still need the MySQL Connector installed on the computer despite having the proper NuGet packages? 为什么有时我需要添加 Nuget 依赖项,即使它们没有被我的项目直接使用? - Why do I sometimes need to to add Nuget dependencies even if they're not used directly by my project? Visual Studio,ASP.Net(.Net Framework),并在项目中包含NuGet安装的软件包 - Visual Studio, ASP.Net (.Net Framework) and including NuGet installed packages in a project 我在 Asp.NET Core 2.2 项目中使用 ReflectionIT.Mvc.Paging 进行分页时遇到问题 - I have problem using ReflectionIT.Mvc.Paging for pagination in my Asp.NET Core 2.2 project 如何在ASP.NET Web API项目而不是.NET Core上使用DI - How do I use DI on asp.net web api project not .net core 我需要在 asp.net Core 中创建 XSRF 中间件吗? - Do I need to create an XSRF middleware in asp.net Core?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM