mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
20 lines
638 B
Batchfile
20 lines
638 B
Batchfile
if %Configuration%==Release if %TargetFramework%==net48 (
|
|
:: Merge dlls
|
|
%ILMergeConsolePath% /wildcards /out:%TargetDir%Netch.exe ^
|
|
/lib:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319" ^
|
|
/targetplatform:v4,"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8" ^
|
|
%TargetDir%Netch.exe ^
|
|
%TargetDir%*.dll
|
|
|
|
DEL /f %TargetDir%*.dll >NUL 2>&1
|
|
)
|
|
|
|
if %Configuration%==Release (
|
|
DEL /f %TargetDir%*.config >NUL 2>&1
|
|
DEL /f %TargetDir%*.pdb >NUL 2>&1
|
|
)
|
|
|
|
RD /s /Q %TargetDir%x86 >NUL 2>&1
|
|
RD /s /Q %TargetDir%de %TargetDir%es %TargetDir%fr %TargetDir%it %TargetDir%pl %TargetDir%ru %TargetDir%zh-CN >NUL 2>&1
|
|
|
|
exit 0 |