anchor.diff:  :#   2019-04-16 JFL Merged in the 2019-01-20 change made for Ag.              *
   :#   2019-06-12 JFL Added the user full name and email to %CONFIG.BAT%.	      *
   :#   2020-06-30 JFL Added the 7-Zip LZMA SDK to the list of known SDKs.       *
  +:#   2021-11-16 JFL Added support for Visual Studio 17/2022.                  *
   :#                                                                            *
   :#       Copyright 2016-2020 Hewlett Packard Enterprise Development LP       *
   :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 *
   :#*****************************************************************************
   
   setlocal EnableExtensions EnableDelayedExpansion
  -set "VERSION=2020-06-30"
  +set "VERSION=2021-11-16"
   set "SCRIPT=%~nx0"				&:# Script name
   set "SPATH=%~dp0" & set "SPATH=!SPATH:~0,-1!"	&:# Script path, without the trailing \
   set  "ARG0=%~f0"				&:# Script full pathname
  
positive.code: set "BIN[amd64,arm]=bin\amd64_arm bin\x86_arm"
  set "BIN[amd64,arm64]=bin\amd64_arm64 bin\x86_arm64"
  
  :# VS 15 era: More regular naming system, but much deeper
  set "BIN15[x86,x86]=bin\HostX86\x86"
  set "BIN15[x86,amd64]=bin\HostX86\x64"
  set "BIN15[x86,arm]=bin\HostX86\arm"
  
negative.code: set "VSN[2008]=9"   & set "VSA[9]=9/2008"     & set "VSP[9]=Microsoft Visual Studio 9.0"		
  set "VSN[2005]=8"   & set "VSA[8]=8/2005"     & set "VSP[8]=Microsoft Visual Studio 8"		
  set "VSN[2003]=7.1" & set "VSA[7.1]=7.1/2003" & set "VSP[7.1]=Microsoft Visual Studio .NET 2003"	
  set "VSN[2002]=7"   & set "VSA[7]=7/.NET"     & set "VSP[7]=Microsoft Visual Studio .NET"	  & set "VSN[.NET]=7"		
  set "VSN[98]=6"     & set "VSA[6]=6/98"       & set "VSP[6]=Microsoft Visual Studio"			
  set "VSN[97]=5"     & set "VSA[5]=5/97"       & set "VSP[5]=Microsoft Visual Studio"			
  
  :# Space-separated list of VC subdirectories to search
  set "VC15S=Enterprise\VC Professional\VC Community\VC Preview\VC"
  