Skip to content

Commit f016f40

Browse files
authored
1 parent 661b395 commit f016f40

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/core/tools/dotnet-pack.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ By default, `dotnet pack` builds the project first. If you wish to avoid this be
211211
dotnet pack --runtime win-x64
212212
```
213213

214+
- Pack the project in the current directory into a deterministic package (.NET 10.0.400 and later):
215+
216+
```dotnetcli
217+
dotnet pack -p:Deterministic=true -p:DeterministicTimestamp="2026-12-19T16:39:57-08:00"
218+
```
219+
214220
- Pack the project using a *.nuspec* file (MSBuild project-based approach):
215221

216222
```dotnetcli

0 commit comments

Comments
 (0)