-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Adds list required components when VS is not installed #40397
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #40397 +/- ##
=========================================
+ Coverage 58.78% 58.98% +0.2%
=========================================
Files 192 192
Lines 18596 18599 +3
=========================================
+ Hits 10932 10971 +39
+ Misses 7664 7628 -36
Continue to review full report at Codecov.
|
stuartmorgan-g
left a comment
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.
LGTM with wording nit.
| 'Visual Studio not installed; this is necessary for Windows development.\n' | ||
| 'Download at https://visualstudio.microsoft.com/downloads/.'; | ||
| 'Download at https://visualstudio.microsoft.com/downloads/.\n' | ||
| 'Please include the "$workload" workload, and the following components:\n ${components.join('\n ')}'; |
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.
I think this would be clearer given the installer structure as:
'Please install the "$workload" workload, including the following components:\'
(Let's change the "and include these components" in the message above to "including the following components" as well, for consistency between the messages.)
Description
Adds a list of required components to the user message when Visual Studio is not installed. This list is currently only shown if the user has an incomplete installation.
Example of the message:
Related Issues
#40267
Tests
Updated visual_studio_validator_test.dart
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?