在 Visual Studio Code 中安装 Nuget 包 [英] Install a Nuget package in Visual Studio Code

查看:73
本文介绍了在 Visual Studio Code 中安装 Nuget 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Visual Studio Code 中安装 Nuget 包?我知道在 Visual Studio 中,我们可以通过 Nuget 包管理器控制台执行此操作,但如何在 VS Code 中执行此操作?

How can I install a Nuget Package in Visual Studio Code? I know in Visual Studio, we can do this through the Nuget Package Manager console, but how do I do it in VS Code?

推荐答案

从命令行或 vs 代码编辑器中的终端窗口 dotnet add package Newtonsoft.Json

From the command line or the Terminal windows in vs code editor dotnet add package Newtonsoft.Json

请参阅这篇 Scott Hanselman 的文章

这篇关于在 Visual Studio Code 中安装 Nuget 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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