| | |
| | | IF "$(ConfigurationName)"=="Release" Confuser.CLI.exe $(TargeDir)..\ConfuserEx\$(TargetFileName).crproj |
| | | |
| | | |
| | | mkdir "$(TargetDir)OpenTap" |
| | | |
| | | copy "$(TargeDir)HMI.Core.dll" "$(TargetDir)OpenTap" |
| | | copy "$(TargeDir)HMI.Simple.Util.dll" "$(TargetDir)OpenTap" |
| | | copy "$(TargeDir)HMI.Util.Base.dll" "$(TargetDir)OpenTap" |
| | | |
| | | move /y "$(TargeDir)HMI.Core.dll" $(TargeDir)Libs\HMI.Core.dll" |
| | | move /y "$(TargeDir)HMI.Base.dll" $(TargeDir)Libs\HMI.Base.dll" |
| | | move /y "$(TargeDir)HMI.UI.dll" $(TargeDir)Libs\HMI.UI.dll" |
| | | move /y "$(TargeDir)HMI.Util.dll" $(TargeDir)Libs\HMI.Util.dll" |
| | | move /y "$(TargeDir)ConnectionUtil.dll" $(TargeDir)Libs\ConnectionUtil.dll" |
| | | move /y "$(TargeDir)HMI.StdControl.dll" $(TargeDir)Libs\HMI.StdControl.dll" |
| | | move /y "$(TargeDir)S7Driver.dll" $(TargeDir)Libs\S7Driver.dll" |
| | | move /y "$(TargeDir)HslCommunication.dll" $(TargeDir)Libs\HslCommunication.dll" |
| | | move /y "$(TargeDir)PLCHelper.dll" $(TargeDir)Libs\PLCHelper.dll" |
| | | move /y "$(TargeDir)ModBusTcpController.dll" $(TargeDir)Libs\ModBusTcpController.dll" |
| | | |
| | | move /y "$(TargeDir)HMI.LogUtil.dll" $(TargeDir)Api\HMI.LogUtil.dll" |
| | | move /y "$(TargeDir)HMI.SerialData.Util.dll" $(TargeDir)Api\HMI.SerialData.Util.dll" |
| | | move /y "$(TargeDir)HMI.Simple.Util.dll" $(TargeDir)Api\HMI.Simple.Util.dll" |
| | | move /y "$(TargeDir)HMI.Util.Base.dll" $(TargeDir)Api\HMI.Util.Base.dll" |
| | | move /y "$(TargeDir)CellStepSender.dll" $(TargeDir)Api\CellStepSender.dll" |
| | | |
| | | mkdir "$(TargetDir)Plugin" |
| | | |
| | | move /y "$(TargeDir)HMI.AlarmInfoManage.dll" $(TargeDir)Plugin\HMI.AlarmInfoManage.dll" |
| | | move /y "$(TargeDir)HMI.DataViewer.dll" $(TargeDir)Plugin\HMI.DataViewer.dll" |
| | |
| | | move /y "$(TargeDir)Plugin.DataBoard.dll" $(TargeDir)Plugin\Plugin.DataBoard.dll" |
| | | move /y "$(TargeDir)Plugin.JarUI.dll" $(TargeDir)Plugin\Plugin.JarUI.dll" |
| | | move /y "$(TargeDir)Plugin.SeqEditor.dll" $(TargeDir)Plugin\Plugin.SeqEditor.dll" |
| | | move /y "$(TargeDir)Plugin.ChangeModel.dll" $(TargeDir)Plugin\Plugin.ChangeModel.dll" |
| | | move /y "$(TargeDir)Plugin.MaterialOpt.dll" $(TargeDir)Plugin\Plugin.MaterialOpt.dll" |
| | | move /y "$(TargeDir)Plugin.DODriverControl.dll" $(TargeDir)Plugin\Plugin.DODriverControl.dll" |
| | | move /y "$(TargeDir)Plugin.ModelManage.dll" $(TargeDir)Plugin\Plugin.ModelManage.dll" |
| | | move /y "$(TargeDir)Plugin.CurrentSensorControl.dll" $(TargeDir)Plugin\Plugin.CurrentSensorControl.dll" |
| | | move /y "$(TargeDir)Plugin.TsSupport.dll" $(TargeDir)Plugin\Plugin.TsSupport.dll" |
| | | move /y "$(TargeDir)Plugin.DataViewer.dll" $(TargeDir)Plugin\Plugin.DataViewer.dll" |
| | | move /y "$(TargeDir)Util.ManualDebug.dll" $(TargeDir)Plugin\Util.ManualDebug.dll" |
| | | move /y "$(TargeDir)Plugin.QualityReport.dll" $(TargeDir)Plugin\Plugin.QualityReport.dll" |
| | | move /y "$(TargeDir)Plugin.BurnIn.dll" $(TargeDir)Plugin\Plugin.BurnIn.dll" |
| | | move /y "$(TargeDir)Plugin.StandardTest.dll" $(TargeDir)Plugin\Plugin.StandardTest.dll" |
| | | move /y "$(TargeDir)Plugin.TestPlanEditor.dll" $(TargeDir)Plugin\Plugin.TestPlanEditor.dll" |
| | | |
| | | move /y "$(TargeDir)AddInPlugin.dll" "$(TargetDir)OpenTap\AddInPlugin.dll" |
| | | move /y "$(TargeDir)OpenTap.dll" "$(TargetDir)OpenTap\OpenTap.dll" |
| | | move /y "$(TargeDir)OpenTap.Plugins.BasicSteps.dll" "$(TargetDir)OpenTap\OpenTap.Plugins.BasicSteps.dll" |
| | | move /y "$(TargeDir)HMI.TapApi.dll" "$(TargetDir)OpenTap\HMI.TapApi.dll" |
| | | move /y "$(TargeDir)ViHelper.dll" "$(TargetDir)OpenTap\ViHelper.dll" |
| | | move /y "$(TargeDir)UtilLib.dll" "$(TargetDir)OpenTap\UtilLib.dll" |
| | | move /y "$(TargeDir)LabViewRunner.dll" "$(TargetDir)OpenTap\LabViewRunner.dll" |
| | | |
| | | setlocal enabledelayedexpansion |
| | | |
| | |
| | | rmdir /S /Q "%destination_folder%" |
| | | mkdir "%destination_folder%" |
| | | |
| | | for %%F in ("%source_folder%\*") do ( |
| | | if /I "%%~nxF"=="System.Data.SQLite.dll" ( |
| | | xcopy "%source_folder%\%%F" "%source_folder%\Api\%%F" /Y |
| | | ) |
| | | ) |
| | | |
| | | for /d %%D in ("%source_folder%\*") do ( |
| | | if /I not "%%~nxD"=="Api" if /I not "%%~nxD"=="Config" if /I not "%%~nxD"=="Icon" if /I not "%%~nxD"=="Lang" if /I not "%%~nxD"=="Libs" if /I not "%%~nxD"=="Log" if /I not "%%~nxD"=="Plugin" if /I not "%%~nxD"=="TestPlatform.exe.WebView2" ( |
| | | if /I not "%%~nxD"=="Api" if /I not "%%~nxD"=="Config" if /I not "%%~nxD"=="Icon" if /I not "%%~nxD"=="Lang" if /I not "%%~nxD"=="Libs" if /I not "%%~nxD"=="Log" if /I not "%%~nxD"=="Plugin" if /I not "%%~nxD"=="TestPlatform.exe.WebView2" if /I not "%%~nxD"=="OpenTap" if /I not "%%~nxD"=="Settings" if /I not "%%~nxD"=="Report" ( |
| | | move /Y "%%D" "%destination_folder%" |
| | | ) |
| | | ) |
| | | |
| | | for %%F in ("%source_folder%\*") do ( |
| | | if /I not "%%~nxF"=="$(TargetFileName)" if /I not "%%~nxF"=="$(TargetFileName).config" if /I not "%%~nxF"=="$(TargetName).pdb" if /I not "%%~nxF"=="clear.bat" ( |
| | | if /I not "%%~nxF"=="$(TargetFileName)" if /I not "%%~nxF"=="$(TargetFileName).config" if /I not "%%~nxF"=="$(TargetName).pdb" if /I not "%%~nxF"=="clear.bat" if /I not "%%~nxF"=="安装MSMQ.bat" if /I not "%%~nxF"=="Settings.ini" ( |
| | | move /Y "%%F" "%destination_folder%" |
| | | ) |
| | | ) |
| | | |
| | | del /s /q "%source_folder%\*.pdb" |
| | | del /s /q "%source_folder%\*.pdb" |
| | | del /s /q "%destination_folder%\*.txt" |
| | | del /s /q "%destination_folder%\*.xml" |