Skip to content

Commit 83d3f70

Browse files
Add guidance for package source
1 parent dc85096 commit 83d3f70

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

articles/storage/blobs/storage-quickstart-blobs-dotnet.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,20 @@ To interact with Azure Blob Storage, install the Azure Blob Storage client libra
8585
dotnet add package Azure.Storage.Blobs
8686
```
8787

88+
If this command to add the package fails, see the following steps:
89+
90+
- Make sure that `nuget.org` is added as a package source. You can list the package sources using the [dotnet nuget list source](/dotnet/core/tools/dotnet-nuget-list-source#examples) command:
91+
92+
```dotnetcli
93+
dotnet nuget list source
94+
```
95+
96+
- If you don't see `nuget.org` in the list, you can add it using the [dotnet nuget add source](/dotnet/core/tools/dotnet-nuget-add-source#examples) command:
97+
98+
```dotnetcli
99+
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
100+
```
101+
88102
---
89103
90104
### Set up the app code

0 commit comments

Comments
 (0)