Joseph Brill
Joseph Brill
Two fragments for processing json output: ```python # version 1 def _register_msvc_instances_in_vswhere_json(vswhere_output): msvc_instances = [] for instance in vswhere_output: productId = instance.get('productId','') if not productId: debug('productId not found in vswhere...
The WIP stand-alone script for VS/VC detection departs from the current SCons implementation in subtle but important ways. The script attempts to ferret out *all* installed versions of MSVS/MSVC. Prerelease...
Documentation for future reference. Candidate vswhere command line: ```console vswhere.exe -all -products * -prerelease -format json -utf8 ``` Notes: * without ***-products \**** only Enterprise, Professional, and Community installations will...
> wonder if that will cause problems with subprocess... there are plenty of notes about it blocking when there's two much output from the subprocess, I have no idea if...
> Isn't there also a -legacy flag to vswhere for older installations that can't find full information? My recollection was it gives you so little information it's not terribly useful,...
***Visual Studio versions as of 2021-11-10*** | Visual Studio | Status | VC Ver | Component | VS Version | VC Toolset | |-----------------------------|-------------|-----------|-------------|-------------------|---------------| | VS 2022 Community Preview |...
An SCons branch with preliminary support for preview/prerelease versions of VS 2017-2022 is in my GitHub repository at: \ https://github.com/jcbrill/scons/tree/jbrill-msvc-preview If there is any interest, a PR could be issued...
Completely agree. Updated code and comment above.
I need to make sure the proposed code is consistent with any/all changes since Nov 2021. I haven't looked at the proposed code in the last two months. Unfortunately, I...
Visual Studio instances: 1. VS 2022 Community Preview ("2022-Pre-Com")* 2. VS 2022 BuildTools Preview ("2022-Pre-BT")* 3. VS 2022 Community ("2022-Rel-Com")* 4. VS 2022 BuildTools ("2022-Rel-BT")* 5. VS 2019 Community ("2019-Rel-Com")*...