Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
1ea76009
Unverified
Commit
1ea76009
authored
Sep 24, 2019
by
Francisco Magdaleno
Committed by
GitHub
Sep 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update toolchain description to request the latest version (#40795)
parent
70d97f1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
visual_studio.dart
packages/flutter_tools/lib/src/windows/visual_studio.dart
+8
-3
No files found.
packages/flutter_tools/lib/src/windows/visual_studio.dart
View file @
1ea76009
...
...
@@ -127,11 +127,16 @@ class VisualStudio {
// component name is significantly different in different versions.
// Default to the latest known description, but use a specific string
// if a known older version is requested.
String
cppToolchainDescription
=
'MSVC v142 - VS 2019 C++ x64/x86 build tools
(v14.21)
'
;
String
cppToolchainDescription
=
'MSVC v142 - VS 2019 C++ x64/x86 build tools'
;
if
(
visualStudioMajorVersion
==
15
)
{
cppToolchainDescription
=
'VC++ 2017 version 15.9 v14.
16
latest v141 tools'
;
cppToolchainDescription
=
'VC++ 2017 version 15.9 v14.
##
latest v141 tools'
;
}
// The 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64' ID is assigned to the latest
// release of the toolchain, and there can be minor updates within a given version of
// Visual Studio. Since it changes over time, listing a precise version would become
// wrong after each VC++ toolchain update, so just instruct people to install the
// latest version.
cppToolchainDescription
+=
'
\n
- If there are multiple versions, install the latest one'
;
return
<
String
,
String
>{
// The MSBuild tool and related command-line toolchain.
'Microsoft.Component.MSBuild'
:
'MSBuild'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment