Skip to content

Commit 4a940dc

Browse files
author
Jose A. Fernandez
committed
Update Links.md with new commands (pack a project and to push a package to NuGet)
1 parent a49a24b commit 4a940dc

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Links.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@
44
- [Packaging Icon within the nupkg](https://github.com/NuGet/Home/wiki/Packaging-Icon-within-the-nupkg)
55
- [Supporting Multiple Target Frameworks](https://learn.microsoft.com/en-us/nuget/create-packages/supporting-multiple-target-frameworks)
66
- [NuGet Package Explorer](https://apps.microsoft.com/detail/9WZDNCRDMDM3?hl=en-us&gl=AR&ocid=pdpshare)
7-
- [NuGet Package Explorer GitHub](https://github.com/NuGetPackageExplorer/NuGetPackageExplorer)
7+
- [NuGet Package Explorer GitHub](https://github.com/NuGetPackageExplorer/NuGetPackageExplorer)
8+
9+
#### Command to push a package to NuGet
10+
```bash
11+
dotnet nuget push file.nupkg -k {YOUR_API_KEY_HERE} -s https://api.nuget.org/v3/index.json
12+
```
13+
14+
#### Command to pack a project
15+
```bash
16+
dotnet pack --configuration Release
17+
```

0 commit comments

Comments
 (0)