1@echo off 2@REM Builds a .NET solution file, adds the project, builds it 3@REM and executes it. Cleans up all generated files and directories. 4 5set TEMP_BIN=.tmp 6 7@REM Run the .NET Core tests 8set CORE_FILE=FlatBuffers.Core.Test 9set CORE_PROJ_FILE=%CORE_FILE%.csproj 10set CORE_SLN_FILE=%CORE_FILE%.sln 11dotnet new sln --force --name %CORE_FILE% 12dotnet sln %CORE_SLN_FILE% add %CORE_PROJ_FILE% 13dotnet build -c Release -o %TEMP_BIN% -v quiet %CORE_PROJ_FILE% 14%TEMP_BIN%\%CORE_FILE%.exe 15del /f %CORE_SLN_FILE% 16 17@REM TODO(dbaileychess): Support the other configurations in NetTest.sh 18 19@REM remove the temp bin directory, with files (/S) and quietly (/Q) 20RD /S /Q %TEMP_BIN% 21