Install a Nuget package in Visual Studio Code

后端 未结 10 1705
自闭症患者
自闭症患者 2020-12-02 05:16

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?

10条回答
  •  执笔经年
    2020-12-02 06:10

    Example for .csproj file

      
        
        
        
      
    

    Just get package name and version number from NuGet and add to .csproj then save. You will be prompted to run restore that will import new packages.

提交回复
热议问题