Skip to content
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

doc: clarify the prerequisites for building with VS2017 #16903

Closed
wants to merge 0 commits into from
Closed

doc: clarify the prerequisites for building with VS2017 #16903

wants to merge 0 commits into from

Conversation

seishun
Copy link
Contributor

@seishun seishun commented Nov 9, 2017

  • "Edition" is ambiguous. For example, Visual Studio Team Explorer 2017
    is listed under "Visual Studio 2017", but Build Tools for Visual
    Studio 2017 is listed under "Other Tools and Frameworks".
  • The listed required components are insufficient. VS2017 also needs
    "Visual Studio C++ core features", and Build Tools also needs
    "Visual C++ Build Tools core features".
  • Installing the workload with the default optional components takes up
    only about 1GB more space than the minimal set of components, but
    saves scrolling through the long list of individual components.
Checklist
Affected core subsystem(s)

doc

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. labels Nov 9, 2017
@mscdex mscdex added the windows Issues and PRs related to the Windows platform. label Nov 9, 2017
@seishun
Copy link
Contributor Author

seishun commented Nov 10, 2017

@nodejs/platform-windows I'm going to land this in 24 hours if there are no objections.

Copy link
Member

@joaocgreis joaocgreis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The list of components that was here was exactly what was needed when those lines landed, anything else was pulled as dependencies. The installer changed, so referring to workloads instead makes more sense. Having a minimal list would be very useful for some users, but since it may change over time it's better to have this.

@richardlau
Copy link
Member

FYI this matches this screenshot of the installer I took back in September:

image

@refack
Copy link
Contributor

refack commented Nov 10, 2017

We should find a way to follow MSVS installer updates. ATM I only track vswhere changes...

seishun added a commit that referenced this pull request Nov 11, 2017
* "Edition" is ambiguous. For example, Visual Studio Team Explorer 2017
  is listed under "Visual Studio 2017", but Build Tools for Visual
  Studio 2017 is listed under "Other Tools and Frameworks".
* The listed required components are insufficient. VS2017 also needs
  "Visual Studio C++ core features", and Build Tools also needs
  "Visual C++ Build Tools core features".
* Installing the workload with the default optional components takes up
  only about 1GB more space than the minimal set of components, but
  saves scrolling through the long list of individual components.

PR-URL: #16903
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
@seishun seishun closed this Nov 11, 2017
@seishun
Copy link
Contributor Author

seishun commented Nov 11, 2017

Landed in ff21851.

@addaleax
Copy link
Member

@seishun @refack Funny, I ran into the problem of not having all needed components on Windows yesterday & just saw this PR right now – Thank you a lot for this! ❤️

@refack
Copy link
Contributor

refack commented Nov 11, 2017

@addaleax do you remember what was missing? Did you base your setup on the old instructions?
Anyway there's a plan to supply some scripts to automate dev setup on Windows.

@addaleax
Copy link
Member

@refack Uh… This is partly from memory, but it was something like msbuild complaining about C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/VC/VCTargets/Microsoft.Cpp.props missing or so? It definitely was some C++-specific file in that folder that wasn’t part of the minimal list of required components

@seishun seishun deleted the vs2017-req branch November 12, 2017 15:48
evanlucas pushed a commit that referenced this pull request Nov 13, 2017
* "Edition" is ambiguous. For example, Visual Studio Team Explorer 2017
  is listed under "Visual Studio 2017", but Build Tools for Visual
  Studio 2017 is listed under "Other Tools and Frameworks".
* The listed required components are insufficient. VS2017 also needs
  "Visual Studio C++ core features", and Build Tools also needs
  "Visual C++ Build Tools core features".
* Installing the workload with the default optional components takes up
  only about 1GB more space than the minimal set of components, but
  saves scrolling through the long list of individual components.

PR-URL: #16903
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
@evanlucas evanlucas mentioned this pull request Nov 13, 2017
MylesBorins pushed a commit that referenced this pull request Nov 17, 2017
* "Edition" is ambiguous. For example, Visual Studio Team Explorer 2017
  is listed under "Visual Studio 2017", but Build Tools for Visual
  Studio 2017 is listed under "Other Tools and Frameworks".
* The listed required components are insufficient. VS2017 also needs
  "Visual Studio C++ core features", and Build Tools also needs
  "Visual C++ Build Tools core features".
* Installing the workload with the default optional components takes up
  only about 1GB more space than the minimal set of components, but
  saves scrolling through the long list of individual components.

PR-URL: #16903
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
@MylesBorins
Copy link
Member

Landed on 8.x but not 6.x

If I recall we don't support VS2017 on 6.x, please correct me if mistaken

@seishun
Copy link
Contributor Author

seishun commented Nov 17, 2017

@MylesBorins correct.

@gibfahn gibfahn mentioned this pull request Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants