[PR #6339] Add a helper to skip nuget restore during local builds #26655

Open
opened 2026-01-31 09:17:23 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/6339

State: closed
Merged: Yes


Running nuget restore on every build is pretty unnecessary - usually, you know when you need to run it. For the inner dev loop, this is a few seconds on every bx build.

This adds a environment variable you can set to skip the nuget restore part of a bcz build.

Add the following to your .razzlerc.cmd:

set _SKIP_NUGET_RESTORE=1

and bcz (and the other helpers) won't perform a nuget restore on every build.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/6339 **State:** closed **Merged:** Yes --- Running `nuget restore` on every build is pretty unnecessary - usually, you _know_ when you need to run it. For the inner dev loop, this is a few seconds on every `bx` build. This adds a environment variable you can set to skip the `nuget restore` part of a `bcz` build. Add the following to your `.razzlerc.cmd`: ```cmd set _SKIP_NUGET_RESTORE=1 ``` and `bcz` (and the other helpers) _won't_ perform a nuget restore on every build.
claunia added the pull-request label 2026-01-31 09:17:23 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26655