@@ -410,18 +410,6 @@ if "%RestorePackages%"=="" (
410410
411411@ call src\update.cmd signonly
412412
413- echo ===========================================================
414- echo ===========================================================
415- echo %VS150COMNTOOLS%
416- echo ===========================================================
417- echo ===========================================================
418- dir " %ProgramFiles(x86)% \Microsoft Visual Studio"
419- echo ===========================================================
420- echo ===========================================================
421- dir " %ProgramFiles(x86)% \Microsoft Visual Studio\2017"
422- echo ===========================================================
423- echo ===========================================================
424-
425413:: Check prerequisites
426414if not " %VisualStudioVersion% " == " " goto vsversionset
427415if exist " %VS150COMNTOOLS% \..\ide\devenv.exe" set VisualStudioVersion = 15.0
@@ -610,9 +598,9 @@ set PATH=%PATH%;%CORDIR%
610598
611599set REGEXE32BIT = reg.exe
612600
613- IF NOT DEFINED SNEXE32IF EXIST " %WINSDKNETFXTOOLS% \sn.exe" set SNEXE32 = %WINSDKNETFXTOOLS% sn.exe
614- IF NOT DEFINED SNEXE64IF EXIST " %WINSDKNETFXTOOLS% x64\sn.exe" set SNEXE64 = %WINSDKNETFXTOOLS% x64\sn.exe
615- IF NOT DEFINED ildasmIF EXIST " %WINSDKNETFXTOOLS% \ildasm.exe" set ildasm = %WINSDKNETFXTOOLS% ildasm.exe
601+ IF NOT DEFINED SNEXE32IF EXIST " %WINSDKNETFXTOOLS% \sn.exe" set SNEXE32 = %WINSDKNETFXTOOLS% sn.exe
602+ IF NOT DEFINED SNEXE64IF EXIST " %WINSDKNETFXTOOLS% x64\sn.exe" set SNEXE64 = %WINSDKNETFXTOOLS% x64\sn.exe
603+ IF NOT DEFINED ildasmIF EXIST " %WINSDKNETFXTOOLS% \ildasm.exe" set ildasm = %WINSDKNETFXTOOLS% ildasm.exe
616604
617605echo .
618606echo SDK environment vars
@@ -698,20 +686,16 @@ if "%TEST_NET40_FSHARPQA_SUITE%" == "1" (
698686set FSC = !FSCBINPATH! \fsc.exe
699687set FSCOREDLLPATH = !FSCBinPath! \FSharp.Core.dll
700688set PATH = !FSCBINPATH! ;!PATH!
701-
702- where.exe perl> NUL 2 > NUL
703- if errorlevel 1 (
704- echo Error: perl is not in the PATH, it is required for the net40-fsharpqa test suite
705- goto :failure
706- )
689+ set perlexe = %~dp0 packages\StrawberryPerl64.5.22.2.1\Tools\perl\bin\perl.exe
690+ if not exist %perlexe% echo Error: perl was not downloaded from check the packages directory:%perlexe% && goto :failure
707691
708692set OUTPUTFILE = test-net40-fsharpqa-results.log
709693set ERRORFILE = test-net40-fsharpqa-errors.log
710694set FAILENV = test-net40-fsharpqa-errors
711695
712696pushd %~dp0 tests\fsharpqa\source
713- echo perl %~dp0 tests\fsharpqa\testenv\bin\runall.pl -resultsroot!RESULTSDIR! -results!OUTPUTFILE! -log!ERRORFILE! -fail!FAILENV! -cleanup:no!TTAGS_ARG_RUNALL! !PARALLEL_ARG!
714- perl %~dp0 tests\fsharpqa\testenv\bin\runall.pl -resultsroot!RESULTSDIR! -results!OUTPUTFILE! -log!ERRORFILE! -fail!FAILENV! -cleanup:no!TTAGS_ARG_RUNALL! !PARALLEL_ARG!
697+ echo %perlexe% %~dp0 tests\fsharpqa\testenv\bin\runall.pl -resultsroot!RESULTSDIR! -results!OUTPUTFILE! -log!ERRORFILE! -fail!FAILENV! -cleanup:no!TTAGS_ARG_RUNALL! !PARALLEL_ARG!
698+ %perlexe% %~dp0 tests\fsharpqa\testenv\bin\runall.pl -resultsroot!RESULTSDIR! -results!OUTPUTFILE! -log!ERRORFILE! -fail!FAILENV! -cleanup:no!TTAGS_ARG_RUNALL! !PARALLEL_ARG!
715699
716700popd
717701if ERRORLEVEL 1 (