PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/src/LinFu.AOP.ILMerge.MSBuild

http://github.com/philiplaureano/LinFu
Unknown | 24 lines | 22 code | 2 blank | 0 comment | 0 complexity | 95919639c6ca845ba186773470137e78 MD5 | raw file
 1<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 2  <PropertyGroup>
 3    <MainAssembly>$(MSBuildProjectDirectory)\..\build\LinFu.AOP.dll</MainAssembly>
 4    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
 5    <TargetDirectory>$(MSBuildProjectDirectory)\..\build\$(Configuration)</TargetDirectory>
 6  </PropertyGroup>
 7  <ItemGroup>
 8    <ILMergeAssemblies Include="$(MSBuildProjectDirectory)\..\build\$(Configuration)\LinFu.AOP.Cecil.dll"/>
 9    <ILMergeAssemblies Include="$(MSBuildProjectDirectory)\..\build\$(Configuration)\LinFu.AOP.Interfaces.dll"/>
10    <ILMergeAssemblies Include="$(MSBuildProjectDirectory)\..\build\$(Configuration)\LinFu.AOP.Tasks.dll"/>
11    <ILMergeAssemblies Include="$(MSBuildProjectDirectory)\..\build\$(Configuration)\LinFu.Reflection*.dll"/>
12    <ILMergeAssemblies Include="$(MSBuildProjectDirectory)\..\lib\Mono.Cecil.dll"/>
13    <ILMergeAssemblies Include="$(MSBuildProjectDirectory)\..\lib\Mono.Cecil.Pdb.dll"/>
14  </ItemGroup>
15
16  <Target Name="aopmerge">
17    <!--Exclude the LinFu.IOC binaries-->
18    <Delete Files="$(MSBuildProjectDirectory)\..\build\$(Configuration)\LinFu.IOC*.dll" />
19
20    <Message Text="-- Begin LinFu.AOP ILMerge --" />
21    <Exec Command="&quot;$(ProgramFiles)\Microsoft\Ilmerge\Ilmerge.exe&quot; /xmldocs /v2 /log /out:&quot;$(MainAssembly)&quot; @(ILMergeAssemblies->'&quot;%(FullPath)&quot;', ' ')" />
22    <Message Text="-- End LinFu.AOP ILMerge --" />
23  </Target>
24</Project>