echo | call 1_DeleteDir.bat
echo | call 1_DeleteFile.bat

@echo on
timeout 5

echo | call 2_Build_NuGet_net45.bat
echo | call 2_Build_NuGet_net46.bat
echo | call 2_Build_NuGet_net47.bat
echo | call 2_Build_NuGet_net48.bat
echo | call 2_Build_NuGet_netstd20.bat
echo | call 2_Build_NuGet_netstd21.bat
echo | call 2_Build_NuGet_nettcore30.bat
echo | call 2_Build_NuGet_nettcore50.bat
echo | call 2_Build_NuGet_nettcore60.bat

@echo on
timeout 5

echo | call 3_Build_Business_net45.bat
echo | call 3_Build_Business_net46.bat
echo | call 3_Build_Business_net47.bat
echo | call 3_Build_Business_net48.bat
echo | call 3_Build_Business_netcore20.bat
echo | call 3_Build_Business_netcore30.bat
echo | call 3_Build_Business_netcore50.bat
echo | call 3_Build_Business_netcore60.bat
echo | call 3_Build_BusinessRichClient_net45.bat
echo | call 3_Build_BusinessRichClient_net46.bat
echo | call 3_Build_BusinessRichClient_net47.bat
echo | call 3_Build_BusinessRichClient_net48.bat
echo | call 3_Build_BusinessRichClient_netcore30.bat
echo | call 3_Build_BusinessRichClient_netcore50.bat
echo | call 3_Build_BusinessRichClient_netcore60.bat

echo | call 4_Build_CopyAssemblies.bat

@echo on
timeout 5

echo | call 4_Build_Framework_Tool.bat
echo | call 4_Build_Framework_ToolCore.bat

echo | call 5_Build_2CS_sample.bat
echo | call 5_Build_2CSCore_sample.bat

echo | call 5_Build_Bat_sample.bat
echo | call 5_Build_BatCore_sample.bat

echo | call 5_Build_CLI_sample.bat
echo | call 5_Build_CLICore_sample.bat

echo | call 6_Build_WSSrv_sample.bat
echo | call 6_Build_WSSrvCore_sample.bat

echo | call 7_Build_Framework_WS.bat
echo | call 7_Build_Framework_WSCore.bat

echo | call 8_Build_WSClnt_sample.bat
echo | call 8_Build_WSClntCore_sample.bat

echo | call 10_Build_WebApp_sample.bat
echo | call 10_Build_WebAppCore_sample.bat

@echo on
timeout 5

rem --------------------------------------------------
rem Change the packages.config.
rem --------------------------------------------------
call %CURRENT_DIR%z_ChangePackages_net46.bat
