mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
				synced 2025-10-30 18:17:50 +00:00 
			
		
		
		
	Fix vswhere path
This commit is contained in:
		| @@ -38,12 +38,12 @@ if "%1"=="" goto usage | ||||
|  | ||||
| rem -version ^^[16.0^^,17.0^^) | ||||
| set VS_VERSION=vs%1 | ||||
| if %VS_VERSION%==vs160 ( | ||||
| rem  should be set "VSWHERE='%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe  -property installationPath -version ^[16.0^,17.0^)'" | ||||
|   set "VSWHERE='C:\PROGRA~2\MICROS~1\Installer\vswhere.exe  -latest -property installationPath -version ^[16.0^,17.0^)'" | ||||
| if %VS_VERSION%==vs160 ( | ||||
|   set "VSWHERE='C:\PROGRA~2\"Microsoft Visual Studio"\Installer\vswhere.exe  -latest -property installationPath -version ^[16.0^,17.0^)'" | ||||
| ) else ( | ||||
| if %VS_VERSION%==vs150 ( | ||||
|   set "VSWHERE='C:\PROGRA~2\MICROS~1\Installer\vswhere.exe  -latest -property installationPath -version ^[15.0^,16.0^)'" | ||||
|   set "VSWHERE='C:\PROGRA~2\"Microsoft Visual Studio"\Installer\vswhere.exe  -latest -property installationPath -version ^[15.0^,16.0^)'" | ||||
| ) | ||||
| ) | ||||
| for /f " delims=" %%a in (%VSWHERE%) do @set "VSCOMNTOOLS=%%a" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Francis ANDRE
					Francis ANDRE