feat: Removes the useImprovedDotnetWithoutRestore flag#6554
Merged
calhar-snyk merged 1 commit intomainfrom Feb 27, 2026
Merged
Conversation
1f80260 to
3a43499
Compare
This comment has been minimized.
This comment has been minimized.
3a43499 to
1940414
Compare
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This comment has been minimized.
This comment has been minimized.
1940414 to
7269d28
Compare
This comment has been minimized.
This comment has been minimized.
7269d28 to
93b5594
Compare
PR Reviewer Guide 🔍
|
93b5594 to
65e1bb8
Compare
PeterSchafer
approved these changes
Feb 26, 2026
65e1bb8 to
8a3d324
Compare
8a3d324 to
5dda787
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Submission Checklist
are release-note ready, emphasizing
what was changed, not how.
What does this PR do?
snyk-nuget-plugin@4.1.0removed the optionuseImprovedDotnetWithoutPublishand treated the setting as true after a staged rollout completed.This option was removed in snyk/snyk-nuget-plugin#280
The version of
snyk-nuget-plugingot bumped in this project tov4.1.1here: #6560How should this be manually tested?
dotnet restoreusingsnyk test --dotnet-runtime-resolutione.g.:
Note how the current invocation builds the
binfolder, while the newly built cli does not.Any background context you want to provide?
useImprovedDotnetWithoutPublishwas a flag that could be passed to thesnyk-nuget-pluginwhich would affect the behaviour of the--dotnet-runtime-resolutionflag.Previously,
--dotnet-runtime-resolutionwould cause thesnyk-nuget-pluginto rundotnet publish ...under the hood in order to get runtime dependencies. However, this is expensive --useImprovedDotnetWithoutPublishwas an internal feature flag to trial and rollout a mechanism of detecting runtime resolutions without the use ofdotnet publish ...What are the relevant tickets?