blob: 6d0ebb0413b9b78585000e75829a2611ca5f82d6 (
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
|
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Import Project="DotNetOpenAuth.Versioning.targets" />
<Import Project="JavascriptPacker.targets" />
<PropertyGroup>
<DefineConstants Condition=" '$(SignAssembly)' == 'true' ">$(DefineConstants);StrongNameSigned</DefineConstants>
<AssemblySearchPaths>$(ProjectRoot)lib;$(AssemblySearchPaths)</AssemblySearchPaths>
</PropertyGroup>
<!-- This is our multi-targeting aware shadow assembly generator. -->
<UsingTask AssemblyFile="$(ProjectRoot)\lib\DotNetOpenAuth.BuildTasks.dll" TaskName="Publicize" />
<PropertyGroup>
<ResolveReferencesDependsOn>
$(ResolveReferencesDependsOn);
CreatePublicAccessors
</ResolveReferencesDependsOn>
</PropertyGroup>
<!-- Remove the built-in shadow generator, since we do it ourselves to avoid bugs in the Microsoft code. -->
<Target Name="CreatePublicAccessors">
<PropertyGroup>
<VSVersionForTargetFramework>v10.0</VSVersionForTargetFramework>
</PropertyGroup>
<Publicize
Condition=" '%(ReferencePath.Shadow)' == 'true' "
SkipUnchangedFiles="true"
MSBuildExtensionsPath="$(MSBuildExtensionsPath)"
ToolPath="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\$(VSVersionForTargetFramework)\TeamTest"
Assembly="@(ReferencePath)"
DelaySign="$(DelaySign)"
KeyFile="$(PublicKeyFile)">
<Output TaskParameter="AccessorAssembly" ItemName="ReferencePath" />
</Publicize>
</Target>
<Target Name="GetOutputPath" Outputs="$(OutputPath)" />
</Project>
|