Skip to content

Commit 7a2873e

Browse files
authored
Freshness Edit: NuGet (#3548)
* Refresh article and screenshots * Refresh article * Refresh article * Address warnings by fixing bookmarks; adjust formatting and language * Address Copilot review: Adjust link capitalization; expand read-me section * Address PR comment: fix path
1 parent 45fb520 commit 7a2873e

7 files changed

Lines changed: 185 additions & 166 deletions

File tree

docs/create-packages/Creating-a-Package.md

Lines changed: 181 additions & 162 deletions
Large diffs are not rendered by default.
-17 KB
Binary file not shown.
30.4 KB
Loading

docs/guides/Create-NET-Standard-Packages-VS2015.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ This guide walks you through creating a NuGet package targeting .NET Standard Li
6363
nuget spec
6464
```
6565

66-
1. Open `AppLogger.nuspec` in an editor and update it to match the following, replacing YOUR_NAME with an appropriate value. The `<id>` value, specifically, must be unique across nuget.org (see the naming conventions described in [Creating a package](../create-packages/creating-a-package.md#choose-a-unique-package-identifier-and-setting-the-version-number). Also note that you must also update the author and description tags or you get an error during the packing step.
66+
1. Open `AppLogger.nuspec` in an editor and update it to match the following, replacing YOUR_NAME with an appropriate value. The `<id>` value, specifically, must be unique across nuget.org (see the naming conventions described in [Creating a package](../create-packages/Creating-a-Package.md#choose-a-unique-package-identifier-and-set-the-version-number)). Also note that you must also update the author and description tags or you get an error during the packing step.
6767

6868
```xml
6969
<?xml version="1.0"?>

docs/guides/Create-UWP-Packages-CS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To create the initial `.nuspec` file, complete the following steps. The subseque
5454
nuget spec
5555
```
5656
57-
1. Open `ImageEnhancer.nuspec` in an editor and update it to match the following, replacing YOUR_NAME with an appropriate value. Don't leave any of the $propertyName$ values. The `<id>` value, specifically, must be unique across nuget.org (see the naming conventions described in [Creating a package](../create-packages/creating-a-package.md#choose-a-unique-package-identifier-and-setting-the-version-number)). Also note that you must also update the author and description tags or you get an error during the packing step.
57+
1. Open `ImageEnhancer.nuspec` in an editor and update it to match the following, replacing YOUR_NAME with an appropriate value. Don't leave any of the $propertyName$ values. The `<id>` value, specifically, must be unique across nuget.org (see the naming conventions described in [Creating a package](../create-packages/Creating-a-Package.md#choose-a-unique-package-identifier-and-set-the-version-number)). Also note that you must also update the author and description tags or you get an error during the packing step.
5858
5959
```xml
6060
<?xml version="1.0"?>

docs/guides/Create-UWP-Packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To create the initial `.nuspec` file, do the three steps below. The sections tha
5353
nuget spec
5454
```
5555
56-
1. Open `ImageEnhancer.nuspec` in an editor and update it to match the following, replacing YOUR_NAME with an appropriate value. The `<id>` value, specifically, must be unique across nuget.org (see the naming conventions described in [Creating a package](../create-packages/creating-a-package.md#choose-a-unique-package-identifier-and-setting-the-version-number)). Also note that you must also update the author and description tags or you get an error during the packing step.
56+
1. Open `ImageEnhancer.nuspec` in an editor and update it to match the following, replacing YOUR_NAME with an appropriate value. The `<id>` value, specifically, must be unique across nuget.org (see the naming conventions described in [Creating a package](../create-packages/Creating-a-Package.md#choose-a-unique-package-identifier-and-set-the-version-number)). Also note that you must also update the author and description tags or you get an error during the packing step.
5757
5858
```xml
5959
<?xml version="1.0"?>

docs/reference/nuspec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Although the following elements are the minimum requirements for a package, you
7878
These elements must appear within a `<metadata>` element.
7979

8080
#### id
81-
The case-insensitive package identifier, which must be unique across nuget.org or whatever gallery the package resides in. IDs may not contain spaces or characters that are not valid for a URL, and generally follow .NET namespace rules. See [Choosing a unique package identifier](../create-packages/Creating-a-Package.md#choose-a-unique-package-identifier-and-setting-the-version-number) for guidance.
81+
The case-insensitive package identifier, which must be unique across nuget.org or whatever gallery the package resides in. IDs may not contain spaces or characters that are not valid for a URL, and generally follow .NET namespace rules. See [Choosing a unique package identifier](../create-packages/Creating-a-Package.md#choose-a-unique-package-identifier-and-set-the-version-number) for guidance.
8282

8383
When uploading a package to nuget.org, the `id` field is limited to 128 characters.
8484

0 commit comments

Comments
 (0)