Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit 9f5aaca

Browse files
authored
Merge pull request #666 from massimobonanni/LAB13-FixForSomeIssues
Lab13 fix for some issues
2 parents ae5dab5 + a1d01f3 commit 9f5aaca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Instructions/Labs/AZ400_M07_L13_Package_Management_with_Azure_Artifacts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ In this task, you will create and publish an in-house developed custom NuGet pac
171171
1. Run the following to publish the package to the **eShopOnWebShared** feed. Replace the source with the URL you copied earlier from the Visual Studio **Source** url `https://pkgs.dev.azure.com/Azure-DevOps-Org-Name/_packaging/eShopOnWebShared/nuget/v3/index.json`
172172

173173
```powershell
174-
dotnet nuget push --source "https://pkgs.dev.azure.com/Azure-DevOps-Org-Name/_packaging/eShopOnWebShared/nuget/v3/index.json" --api-key az "eShopOnWeb.Shared.1.0.0.nupkg"
174+
dotnet nuget push --source "https://pkgs.dev.azure.com/Azure-DevOps-Org-Name/_packaging/eShopOnWebShared/nuget/v3/index.json" --api-key az "eShopOnWeb-XXXXXX.Shared.1.0.0.nupkg"
175175
```
176176

177-
> **Important**: You need to install the credential provider for your operating system to be able to authenticate with Azure DevOps. You can find the installation instructions at [Azure Artifacts Credential Provider](https://go.microsoft.com/fwlink/?linkid=2099625). You can install by running the following command in the PowerShell window: `iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx"`
177+
> **Important**: If you receive and authorization error (401 Unauthorized), you need to install the credential provider for your operating system to be able to authenticate with Azure DevOps. You can find the installation instructions at [Azure Artifacts Credential Provider](https://go.microsoft.com/fwlink/?linkid=2099625). You can install by running the following command in the PowerShell window: `iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx"`
178178
179179
> **Note**: You need to provide an **API Key**, which can be any non-empty string. We're using **az** here. When prompted, sign in to your Azure DevOps organization.
180180
@@ -194,7 +194,7 @@ Besides developing your own packages, why not using the Open Source NuGet (<http
194194

195195
In this task, we will use a generic "Newtonsoft.Json" sample package, but you can use the same approach for other packages in the library.
196196

197-
1. From the same PowerShell window used in the previous task to push the new package, navigate back to the **eShopOnWeb.Shared** folder (`cd..`), and run the following **dotnet** command to install the sample package:
197+
1. From the same PowerShell window used in the previous task to push the new package, navigate back to the **eShopOnWeb.Shared** folder (`cd ../..`), and run the following **dotnet** command to install the sample package:
198198

199199
```powershell
200200
dotnet add package Newtonsoft.Json

0 commit comments

Comments
 (0)