Xamarin Public Jenkins (auto-signing) 966bba02bb Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
2017-06-07 13:16:24 +00:00

30 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" InitialTargets="CheckForBuildTools" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\dir.targets" />
<Target Name="ApplyBaselineToStaticDependencies"
BeforeTargets="AssignPkgProjPackageDependenciesTargetFramework"
Condition="'@(Dependency)' != ''">
<ApplyBaseLine OriginalDependencies="@(Dependency)"
BaseLinePackages="@(BaseLinePackage)"
PackageIndexes="@(PackageIndex)"
Apply="$(BaseLinePackageDependencies)">
<Output TaskParameter="BaseLinedDependencies" ItemName="_BaseLinedStaticDependencies" />
</ApplyBaseLine>
<ApplyPreReleaseSuffix Condition="'@(_BaseLinedStaticDependencies)' != ''"
OriginalPackages="@(_BaseLinedStaticDependencies)"
StablePackages="@(StablePackage)"
PackageIndexes="@(PackageIndex)"
PreReleaseSuffix="$(VersionSuffix)">
<Output TaskParameter="UpdatedPackages" ItemName="_SuffixedStaticDependencies"/>
</ApplyPreReleaseSuffix>
<ItemGroup>
<Dependency Remove="@(Dependency)" />
<Dependency Include="@(_SuffixedStaticDependencies)" />
</ItemGroup>
</Target>
</Project>