forked from mausch/GDataDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGDataDB.proj
25 lines (25 loc) · 1.48 KB
/
GDataDB.proj
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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="3.5">
<PropertyGroup>
<BuildConfig>Release</BuildConfig>
<BuildConfigProp>Configuration=$(BuildConfig)</BuildConfigProp>
<MergedOutputPath>$(MSBuildProjectDirectory)\Build</MergedOutputPath>
</PropertyGroup>
<Import Project="$(MSBuildProjectDirectory)\tools\MSBuild.Community.Tasks\MSBuild.Community.Tasks.Targets"/>
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\tools\ILMerge\ILMerge.MSBuild.Tasks.dll" TaskName="ILMerge.MSBuild.Tasks.ILMerge"/>
<Target Name="Clean">
<MSBuild Projects="GDataDB.sln" StopOnFirstFailure="true" BuildInParallel="true" Targets="Clean"/>
</Target>
<Target Name="Merge">
<ItemGroup>
<MergeAsm Include="GDataDB\bin\$(BuildConfig)\GDataDB.dll" />
<MergeAsm Include="GDataDB.Linq\bin\$(BuildConfig)\GDataDB.Linq.dll" />
<MergeAsm Include="lib\Google.GData.*.dll" />
</ItemGroup>
<RemoveDir Directories="$(MergedOutputPath)"/>
<MakeDir Directories="$(MergedOutputPath)" ContinueOnError="true"/>
<ILMerge.MSBuild.Tasks.ILMerge InputAssemblies="@(MergeAsm)" OutputFile="$(MergedOutputPath)\GDataDB.dll" Internalize="true" XmlDocs="true" ExcludeFile="$(MSBuildProjectDirectory)\ilmerge.exclude"/>
</Target>
<Target Name="Build">
<MSBuild Projects="GDataDB.sln" StopOnFirstFailure="true" Properties="$(BuildConfigProp)" BuildInParallel="true" Targets="Rebuild"/>
</Target>
</Project>