-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ILRepack.targets
38 lines (37 loc) · 1.18 KB
/
ILRepack.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="ILRepacker_Debug" AfterTargets="Build" Condition="'$(Configuration)' == 'Debug'">
<ItemGroup>
<AssemblyFile Include="$(OutputPath)$(AssemblyName).dll" />
</ItemGroup>
<ItemGroup>
<InputAssemblies Include="@(AssemblyFile)" />
<InputAssemblies Include="$(SolutionDir)Libs\ShockwaveManager.dll" />
</ItemGroup>
<ILRepack
Parallel="true"
DebugInfo="true"
InputAssemblies="@(InputAssemblies)"
TargetKind="Dll"
OutputFile="@(AssemblyFile)"
LibraryPath="$(SolutionDir)Libs\"
/>
</Target>
<Target Name="ILRepacker_Release" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
<ItemGroup>
<AssemblyFile Include="$(OutputPath)$(AssemblyName).dll" />
</ItemGroup>
<ItemGroup>
<InputAssemblies Include="@(AssemblyFile)" />
<InputAssemblies Include="$(SolutionDir)Libs\ShockwaveManager.dll" />
</ItemGroup>
<ILRepack
Parallel="true"
DebugInfo="false"
InputAssemblies="@(InputAssemblies)"
TargetKind="Dll"
OutputFile="@(AssemblyFile)"
LibraryPath="$(SolutionDir)Libs\"
/>
</Target>
</Project>