File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 172172 copy "$(TargetDir)config\ASF.json" "$(SolutionDir)out\config"
173173 copy "$(TargetDir)config\example.json" "$(SolutionDir)out\config"
174174 copy "$(TargetDir)config\minimal.json" "$(SolutionDir)out\config"
175+ "$(SolutionDir)tools\ILRepack\ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out\ASF-Service.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll"
176+ del "$(SolutionDir)out\ASF-Service.exe.config"
175177 copy "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out\ASF.exe"
176178 </PostBuildEvent >
177179 <PostBuildEvent Condition =" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' " >
178180 mkdir -p "$(SolutionDir)out/config"
179181 cp "$(TargetDir)config/ASF.json" "$(SolutionDir)out/config"
180182 cp "$(TargetDir)config/example.json" "$(SolutionDir)out/config"
181183 cp "$(TargetDir)config/minimal.json" "$(SolutionDir)out/config"
182- mono --llvm --server -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll"
183- rm "$(SolutionDir)out/ASF.exe.config"
184+ mono --llvm --server -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-Service.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll"
185+ rm "$(SolutionDir)out/ASF-Service.exe.config"
186+ cp "$(SolutionDir)out/ASF-Service.exe" "$(SolutionDir)out/ASF.exe"
184187 </PostBuildEvent >
185188 </PropertyGroup >
186189 <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
You can’t perform that action at this time.
0 commit comments