You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[`NuGet.PackageManagement`](https://www.nuget.org/packages/NuGet.PackageManagement) - NuGet Package Management functionality for Visual Studio installation flow.
24
+
*[`NuGet.Packaging`](https://www.nuget.org/packages/NuGet.Packaging) - Provides a set of APIs to interact with `.nupkg` and `.nuspec` files from a stream. `NuGet.Protocol` depends on this package.
25
+
*[`NuGet.ProjectModel`](https://www.nuget.org/packages/NuGet.ProjectModel) - NuGet's core types and interfaces for PackageReference-based restore, such as lock files, assets file and internal restore models.
26
+
*[`NuGet.Protocol`](https://www.nuget.org/packages/NuGet.Protocol) - Provides a set of APIs interact with HTTP and file-based NuGet feeds.
27
+
*[`NuGet.Resolver`](https://www.nuget.org/packages/NuGet.Resolver) - NuGet's dependency resolver for packages.config based projects.
28
+
*[`NuGet.Versioning`](https://www.nuget.org/packages/NuGet.Versioning) - NuGet's implementation of Semantic Versioning.
16
29
17
30
You can find the source code for these packages in the [NuGet/NuGet.Client](https://github.com/NuGet/NuGet.Client) GitHub repository.
18
-
You can find the source code for these examples on the [NuGet.Protocol.Samples](https://github.com/NuGet/Samples/tree/main/NuGetProtocolSamples) project on GitHub.
19
31
20
32
> [!Note]
21
33
> For documentation on the NuGet server protocol, please refer to the [NuGet Server API](~/api/overview.md).
@@ -28,6 +40,8 @@ Install the `NuGet.Protocol` package to interact with HTTP and folder-based NuGe
28
40
dotnet add package NuGet.Protocol
29
41
```
30
42
43
+
You can find the source code for these examples on the [NuGet.Protocol.Samples](https://github.com/NuGet/Samples/tree/main/NuGetProtocolSamples) project on GitHub.
44
+
31
45
> [!Tip]
32
46
> `Repository.Factory` is defined in the `NuGet.Protocol.Core.Types` namespace, and the `GetCoreV3` method is an extension method defined in the `NuGet.Protocol` namespace. Therefore, you will need to add `using` statements for both namespaces.
33
47
@@ -94,7 +108,7 @@ Create a package, set metadata, and add dependencies using [`NuGet.Packaging`](h
94
108
> It is strongly recommended that NuGet packages are created using the official NuGet tooling and **not** using this
95
109
> low-level API. There are a variety of characteristics important for a well-formed package and the latest version of
96
110
> tooling helps incorporate these best practices.
97
-
>
111
+
>
98
112
> For more information about creating NuGet packages, see the overview of the
99
113
> [package creation workflow](../create-packages/overview-and-workflow.md) and the documentation for official pack
100
114
> tooling (for example, [using the dotnet CLI](../create-packages/creating-a-package-dotnet-cli.md)).
@@ -111,14 +125,14 @@ Read a package from a file stream using [`NuGet.Packaging`](https://www.nuget.or
111
125
112
126
You can find examples and documentation for some of the API in the following blog series by Dave Glick, published 2016:
113
127
114
-
-[Exploring the NuGet v3 Libraries, Part 1: Introduction and concepts](http://daveaglick.com/posts/exploring-the-nuget-v3-libraries-part-1)
115
-
-[Exploring the NuGet v3 Libraries, Part 2: Searching for packages](http://daveaglick.com/posts/exploring-the-nuget-v3-libraries-part-2)
116
-
-[Exploring the NuGet v3 Libraries, Part 3: Installing packages](http://daveaglick.com/posts/exploring-the-nuget-v3-libraries-part-3)
128
+
*[Exploring the NuGet v3 Libraries, Part 1: Introduction and concepts](http://daveaglick.com/posts/exploring-the-nuget-v3-libraries-part-1)
129
+
*[Exploring the NuGet v3 Libraries, Part 2: Searching for packages](http://daveaglick.com/posts/exploring-the-nuget-v3-libraries-part-2)
130
+
*[Exploring the NuGet v3 Libraries, Part 3: Installing packages](http://daveaglick.com/posts/exploring-the-nuget-v3-libraries-part-3)
117
131
118
132
> [!Note]
119
133
> These blog posts were written shortly after the **3.4.3** version of the NuGet client SDK packages were released.
120
134
> Newer versions of the packages may be incompatible with the information in the blog posts.
121
135
122
136
Martin Björkström did a follow-up blog post to Dave Glick's blog series where he introduces a different approach on using the NuGet Client SDK to install NuGet packages:
123
137
124
-
-[Revisiting the NuGet v3 Libraries](https://martinbjorkstrom.com/posts/2018-09-19-revisiting-nuget-client-libraries)
138
+
*[Revisiting the NuGet v3 Libraries](https://martinbjorkstrom.com/posts/2018-09-19-revisiting-nuget-client-libraries)
0 commit comments