blob: a2a50112871d89c8ce6f208e1506771ffed17f36 (
plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0" InitialTargets="InitializeProps">
<PropertyGroup>
<ProductName>DotNetOpenAuth</ProductName>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<TargetFrameworkVersion Condition=" '$(TargetFrameworkVersion)' == '' ">v3.5</TargetFrameworkVersion>
<DisableFastUpToDateCheck>false</DisableFastUpToDateCheck>
<DropsRoot>$(ProjectRoot)drops\$(TargetFrameworkVersion)\$(Configuration)\</DropsRoot>
<OutputPath>$(ProjectRoot)bin\$(TargetFrameworkVersion)\$(Configuration)\</OutputPath>
<DocOutputPath>$(ProjectRoot)doc\</DocOutputPath>
<IntermediatePath>$(ProjectRoot)obj\$(TargetFrameworkVersion)\$(Configuration)\</IntermediatePath>
<IntermediatePath40>$(ProjectRoot)obj\v4.0\$(Configuration)\</IntermediatePath40>
<BaseIntermediateOutputPath Condition=" '$(BaseIntermediateOutputPath)' == '' ">obj\$(TargetFrameworkVersion)\</BaseIntermediateOutputPath>
<ToolsDir>$(ProjectRoot)tools\</ToolsDir>
<ZipLevel>6</ZipLevel>
<Zip7ToolPath>$(ToolsDir)7-Zip.x86\</Zip7ToolPath>
<NuGetToolPath>$(ToolsDir)NuGet\</NuGetToolPath>
<ZipFormat Condition=" '$(ZipFormat)' == '' ">.7z</ZipFormat>
<ClrVersion Condition=" '$(TargetFrameworkVersion)' == 'v4.0' or '$(TargetFrameworkVersion)' == 'v4.5' ">4</ClrVersion>
<ClrVersion Condition=" '$(ClrVersion)' == '' ">2</ClrVersion>
<BuildCodeContractsReferenceAssemblies>false</BuildCodeContractsReferenceAssemblies>
<SignAssembly>true</SignAssembly>
<PublicKeyFile Condition="'$(PublicKeyFile)' == ''">$(ProjectRoot)src\official-build-key.pub</PublicKeyFile>
<AssemblyOriginatorKeyFile Condition="'$(AssemblyOriginatorKeyFile)' == ''">$(PublicKeyFile)</AssemblyOriginatorKeyFile>
<KeyPairContainer Condition="'$(KeyPairContainer)' == ''">DotNetOpenAuth</KeyPairContainer>
<PublicKeyToken>2780CCD10D57B246</PublicKeyToken>
<DelaySign>true</DelaySign>
<SignedSubPath>signed\</SignedSubPath>
<ILMergeOutputAssemblyDirectory>$(OutputPath)unified\</ILMergeOutputAssemblyDirectory>
<ILMergeOutputAssembly>$(ILMergeOutputAssemblyDirectory)$(ProductName).dll</ILMergeOutputAssembly>
<ILMergeOutputXmlDocs>$(ILMergeOutputAssemblyDirectory)$(ProductName).xml</ILMergeOutputXmlDocs>
<ILMergeOutputContractAssemblyDirectory>$(ILMergeOutputAssemblyDirectory)CodeContracts\</ILMergeOutputContractAssemblyDirectory>
<ILMergeOutputContractAssembly>$(ILMergeOutputContractAssemblyDirectory)$(ProductName).Contracts.dll</ILMergeOutputContractAssembly>
<!-- Always use our own toolset's copy of Code Contracts for reliably reproducible builds.
Suppress the installed code contracts from importing itself. -->
<DontImportCodeContracts>true</DontImportCodeContracts>
<ImportCodeContractsFromToolset>true</ImportCodeContractsFromToolset>
</PropertyGroup>
<PropertyGroup Condition=" '$(ClrVersion)' == '4' ">
<ILMergeTargetPlatformDirectory>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0</ILMergeTargetPlatformDirectory>
</PropertyGroup>
<ItemGroup Condition=" '$(ClrVersion)' == '4' ">
<ILMergeSearchDirectories Include="$(ILMergeTargetPlatformDirectory)" />
</ItemGroup>
<ItemGroup Condition=" '$(ClrVersion)' != '4' ">
<ILMergeSearchDirectories Include="
$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\v3.0;
$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\v3.5;
" />
</ItemGroup>
<ItemGroup>
<ProductProjectNames Include="
DotNetOpenAuth.Core;
DotNetOpenAuth.Core.UI;
Mono.Math;
Org.Mentalis.Security.Cryptography;
DotNetOpenAuth.OpenId;
DotNetOpenAuth.OpenId.UI;
DotNetOpenAuth.OpenId.Provider;
DotNetOpenAuth.OpenId.Provider.UI;
DotNetOpenAuth.OpenId.RelyingParty;
DotNetOpenAuth.OpenId.RelyingParty.UI;
DotNetOpenAuth.OAuth.Common;
DotNetOpenAuth.OAuth;
DotNetOpenAuth.OAuth.Consumer;
DotNetOpenAuth.OAuth.ServiceProvider;
DotNetOpenAuth.InfoCard;
DotNetOpenAuth.InfoCard.UI;
DotNetOpenAuth.OpenIdInfoCard.UI;
DotNetOpenAuth.OpenIdOAuth;
" />
<ProductProjectNames Include="
DotNetOpenAuth.OAuth2;
DotNetOpenAuth.OAuth2.AuthorizationServer;
DotNetOpenAuth.OAuth2.Client;
DotNetOpenAuth.OAuth2.Client.UI;
DotNetOpenAuth.OAuth2.ResourceServer;
">
<MergeIntoUnifiedAssembly Condition=" '$(IncludeOAuth2)' == 'false' ">false</MergeIntoUnifiedAssembly>
</ProductProjectNames>
<ProductProjects Include="@(ProductProjectNames->'$(ProjectRoot)src\%(Identity)\%(Identity).csproj')"/>
<ProjectReferencesToRemove Include="@(ProductProjectNames->'..\..\src\%(Identity)\%(Identity).csproj')" />
<AssemblyReferencesToReplaceWith Include="@(ProjectReferencesToRemove->'..\..\Bin\$(ProductName).dll')" />
<SignDependsOn Include="Build" Condition=" '$(SuppressBuildTarget)' != 'true' " />
<ILMergeInputAssemblies Condition=" '$(ClrVersion)' == '2' "
Include="$(ProjectRoot)lib\Microsoft.Contracts.dll" />
</ItemGroup>
<Import Project="$(ProjectRoot)lib\DotNetOpenAuth.BuildTasks.targets" />
<Target Name="InitializeProps">
<CheckAdminRights>
<Output TaskParameter="IsElevated" PropertyName="IsElevated" />
</CheckAdminRights>
<Message Text="IsElevated = $(IsElevated)" />
</Target>
</Project>
|