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

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/6339
Author: @zadjii-msft
Created: 6/3/2020
Status: Merged
Merged: 6/4/2020
Merged by: @zadjii-msft

Base: masterHead: dev/migrie/f/_SKIP_NUGET_RESTORE


📝 Commits (1)

  • ddb10c6 Add a helper to skip nuget restore during the build

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 tools/bcz.cmd (+6 -2)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/6339 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 6/3/2020 **Status:** ✅ Merged **Merged:** 6/4/2020 **Merged by:** [@zadjii-msft](https://github.com/zadjii-msft) **Base:** `master` ← **Head:** `dev/migrie/f/_SKIP_NUGET_RESTORE` --- ### 📝 Commits (1) - [`ddb10c6`](https://github.com/microsoft/terminal/commit/ddb10c65407a798928844f58479feed93400e8bb) Add a helper to skip nuget restore during the build ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/bcz.cmd` (+6 -2) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:17:21 +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#26650