Skip to content

Commit

Permalink
Use the mono hack for ILRepack as well
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Dec 20, 2023
1 parent 302c3c0 commit a5df022
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion KSPMMCfgValidator/KSPMMCfgValidator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,15 @@
Importance="high" />
<Message Text="Logging to $(OutputPath)ILRepack.log"
Importance="high" />
<Exec WorkingDirectory="$(OutputPath)"
<Exec Condition=" '$(OS)' == 'Windows_NT' "
WorkingDirectory="$(OutputPath)"
Command="$(PkgILRepack_MSBuild_Task)\tools\ilrepack.exe /parallel /internalize /wildcards /targetplatform:v4 /log:ILRepack.log /out:Repack\$(AssemblyName).exe $(AssemblyName).exe *.dll"
EchoOff="true"
StandardOutputImportance="low" />
<Exec Condition=" '$(OS)' == 'Unix' "
WorkingDirectory="$(OutputPath)"
Command="mono $(PkgILRepack_MSBuild_Task)/tools/ilrepack.exe /parallel /internalize /wildcards /targetplatform:v4 /log:ILRepack.log /out:Repack\$(AssemblyName).exe $(AssemblyName).exe *.dll"
EchoOff="true"
StandardOutputImportance="low" />
</Target>
</Project>

0 comments on commit a5df022

Please sign in to comment.