Hoppa till huvudinnehåll

Den här webbläsaren stöds inte längre.

Uppgradera till Microsoft Edge för att dra nytta av de senaste funktionerna, säkerhetsuppdateringarna och teknisk support.

Ladda ner Microsoft Edge Mer information om Internet Explorer och Microsoft Edge

NuGet documentation

NuGet is the package manager for .NET. It enables developers to create, share, and consume useful .NET libraries. NuGet client tools provide the ability to produce and consume these libraries as "packages".

Overview

What is NuGet?

Download

Install NuGet client tools

video

Learn NuGet

Overview

NuGet.org

Consume, create, and publish packages

Get started

  • Install NuGet client tools
  • Install and use a package - dotnet CLI
  • Install and use a package - Visual Studio
  • Create a package - dotnet CLI
  • Create a package - Visual Studio
  • Create a .NET Framework package - Visual Studio

Consume packages

  • Workflow (overview)
  • Find and choose packages
  • Use Visual Studio
  • Use dotnet CLI
  • Use nuget.exe CLI
  • Use Package Manager Console

Create packages

  • Workflow (overview)
  • Use Visual Studio
  • Use dotnet CLI
  • Use nuget.exe CLI
  • Use MSBuild
  • Support multiple target frameworks

Publish packages

  • Publish to NuGet.org
  • Publish to a private feed

Reference and resources

NuGet.org

  • Overview
  • Individual accounts
  • Organizations
  • API keys
  • Publish a package

Reference

  • dotnet CLI
  • nuget.exe CLI
  • Package references
  • pack and restore as MSBuild targets
  • .nuspec
  • nuget.config
  • NuGet API

Resources

  • Policies - NuGet
  • Policies - NuGet.org
  • Release notes
  • FAQ - NuGet
  • FAQ - NuGet.org

Blogs - Twitter - Stack Overflow

sv-se
Dina sekretessval
  • Ansvarsfriskrivning för AI
  • Tidigare versioner
  • Blogg
  • Bidra
  • Privatliv
  • Villkor för användning
  • Varumärken
  • © Microsoft 2025