Xamarin Public Jenkins (auto-signing) 536cd135cc Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
2017-08-21 15:34:15 +00:00

32 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" InitialTargets="CheckForBuildTools" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Condition="'$(IsFrameworkPackage)' == 'true'" Project="frameworkPackage.targets" />
<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>