Unverified Commit f94112e5 authored by Loïc Sharma's avatar Loïc Sharma Committed by GitHub

Clarify Visual Studio isn't strictly necessary for Windows development (#125837)

Update `flutter doctor` to clarify that Visual Studio is needed only if creating Windows apps. Windows users targeting Android do not need to install Visual Studio.
parent cc9a3d9d
...@@ -228,7 +228,7 @@ class UserMessages { ...@@ -228,7 +228,7 @@ class UserMessages {
String get windows10SdkNotFound => String get windows10SdkNotFound =>
'Unable to locate a Windows 10 SDK. If building fails, install the Windows 10 SDK in Visual Studio.'; 'Unable to locate a Windows 10 SDK. If building fails, install the Windows 10 SDK in Visual Studio.';
String visualStudioMissing(String workload) => String visualStudioMissing(String workload) =>
'Visual Studio not installed; this is necessary for Windows development.\n' 'Visual Studio not installed; this is necessary to develop Windows apps.\n'
'Download at https://visualstudio.microsoft.com/downloads/.\n' 'Download at https://visualstudio.microsoft.com/downloads/.\n'
'Please install the "$workload" workload, including all of its default components'; 'Please install the "$workload" workload, including all of its default components';
String visualStudioTooOld(String minimumVersion, String workload) => String visualStudioTooOld(String minimumVersion, String workload) =>
......
...@@ -15,7 +15,7 @@ class VisualStudioValidator extends DoctorValidator { ...@@ -15,7 +15,7 @@ class VisualStudioValidator extends DoctorValidator {
required UserMessages userMessages, required UserMessages userMessages,
}) : _visualStudio = visualStudio, }) : _visualStudio = visualStudio,
_userMessages = userMessages, _userMessages = userMessages,
super('Visual Studio - develop for Windows'); super('Visual Studio - develop Windows apps');
final VisualStudio _visualStudio; final VisualStudio _visualStudio;
final UserMessages _userMessages; final UserMessages _userMessages;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment