966bba02bb
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
30 lines
1.3 KiB
XML
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>
|