适用于.NET Core的Nuget包管理器? [英] Nuget package manager for .NET Core?

查看:116
本文介绍了适用于.NET Core的Nuget包管理器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,如何在visual studio中使用nuget包管理器,以便它只浏览.NET Core的包?我有一个我正在研究的ASP.NET Core WebAPI项目,并希望在JSON.NET中使用某些类型......当我右键单击该项目并选择
" manage nuget packages ... "我可以浏览"Newtonsoft.JSON"。但我不确定列出的nuget包是用于.NET Core还是完整框架。我怎么能告诉我安装正确的?提前谢谢你。

Hello, how does one use the nuget package manager in visual studio so that it only browses packages for .NET Core? I have an ASP.NET Core WebAPI project I'm working on and would like to use some types in JSON.NET...when I right-click on the project and select "manage nuget packages..." I can browse to "Newtonsoft.JSON" but I'm unsure if the nuget package listed is for .NET Core or the full framework. How can I tell so that I install the correct one? Thank you in advance.

-L

推荐答案

嗨LKeene,

Hi LKeene,

感谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

>> 我可以浏览到"Newtonsoft.JSON"。但我不确定列出的nuget包是用于.NET Core还是完整框架。

我理解Nuget包不清楚它给你带来的描述有多么不便。但目前在Visual Studio中,没有这样的过滤功能可以显示Nuget包用于.Net Core或完整框架。

I understand how inconvenience the Nuget package unclear description it brings to you. But currently in Visual Studio, there is no such a filter function that could show Nuget package is for .Net Core or full framework.

我做了一个关于它的研究,NuGet有选择定位
此处中提到的框架。还有一个与您的场景匹配的开放式功能请求
在github上

I did a research about it, NuGet has option to target the framework as mentioned in here. Also there is an open feature request matching your scenario on github

此外,我帮助您在
UserVoice
上提交功能请求见:

Besides, I help you submit a feature request on UserVoice, please see:

https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/18837145-nuget-package-manager-in-vs-should-filter-by -targe

如果有必要,您可以投票支持,Microsoft Visual Studio产品团队会认真评估它。

You could vote for it if it's necessary, Microsoft Visual Studio product team will evaluate it seriously.

谢谢你您的理解与合作。

Thank you for your understanding and cooperation.

最诚挚的问候,


这篇关于适用于.NET Core的Nuget包管理器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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