-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport] Workload Clean for 8.0 Preview 3 #31411
[Backport] Workload Clean for 8.0 Preview 3 #31411
Conversation
Co-authored-by: Daniel Plaisted <[email protected]>
Co-authored-by: Daniel Plaisted <[email protected]>
…l feature bands instead of <=, and the error message.
…t does every band. Because we have v1 in the folder we can change the architecture based on that, instead of worrying about a future breaking change
…t clean and clean --all do
…lean. Include dotnetDir with newer info changes.
… with an if check instead of in the interface as it would be more confusing to have an msi api in a file based interface
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a backport, I just scanned this very briefly.
[InlineData(false)] | ||
public void GivenWorkloadCleanAllFileBasedItCleansAllFeatureBands(bool userLocal) | ||
{ | ||
var (testDirectory, dotnetRoot, userProfileDir, workloadResolver, nugetDownloader) = Setup(userLocal, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit for future reference (I don't suggest changing this here, especially since it's in a dead-end release branch): It can be good for readability to specify the parameter names when passing in literals to a method.
var (testDirectory, dotnetRoot, userProfileDir, workloadResolver, nugetDownloader) = Setup(userLocal, true); | |
var (testDirectory, dotnetRoot, userProfileDir, workloadResolver, nugetDownloader) = Setup(userLocal, cleanAll: true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to know, thanks :)
Backport of #30266
Same code as that one.