e2950ec768
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
53 lines
2.5 KiB
XML
53 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
|
|
|
<PropertyGroup>
|
|
<PackageVersion>2.2.0</PackageVersion>
|
|
<HarvestStablePackage>false</HarvestStablePackage>
|
|
<SkipPackageFileCheck>true</SkipPackageFileCheck>
|
|
<PackageIndexFileName>packageIndex.json</PackageIndexFileName>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<File Include="Microsoft.Private.PackageBaseline.props">
|
|
<TargetPath>build</TargetPath>
|
|
</File>
|
|
<File Include="$(IntermediateOutputPath)$(PackageIndexFileName)">
|
|
<TargetPath>build</TargetPath>
|
|
</File>
|
|
</ItemGroup>
|
|
|
|
<!-- Stamp the packageIndex with pre-release version for this build -->
|
|
<Target Name="StampPackageIndex" BeforeTargets="GenerateNuSpec">
|
|
<MakeDir Directories="$(IntermediateOutputPath)" />
|
|
<Copy SourceFiles="$(PackageIndexFileName)" DestinationFolder="$(IntermediateOutputPath)" OverwriteReadOnlyFiles="true" />
|
|
|
|
<UpdatePackageIndex PackageIndexFile="$(IntermediateOutputPath)$(PackageIndexFileName)"
|
|
PreRelease="$(VersionSuffix)" />
|
|
</Target>
|
|
|
|
<Target Name="UpdateFromLocalBuild">
|
|
<ItemGroup>
|
|
<AllPackages Include="$(PackageOutputPath)\*.nupkg" Exclude="$(PackageOutputPath)\*Microsoft.Private.*.nupkg" />
|
|
<FrameworkLayout Include="$(NETCoreAppPackageRefPath)">
|
|
<TargetFramework>netcoreapp2.0</TargetFramework>
|
|
</FrameworkLayout>
|
|
<FrameworkLayout Include="$(UAPPackageRefPath)">
|
|
<TargetFramework>$(UAPvNextTFM)</TargetFramework>
|
|
</FrameworkLayout>
|
|
<FrameworkLayout Include="$(PackagesDir)$(NETStandardLibraryPackageId)\$(NETStandardLibraryPackageVersion)\build\netstandard2.0\ref">
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
</FrameworkLayout>
|
|
<FrameworkLayout Include="$(PackagesDir)$(NETStandardLibraryPackageId)\$(NETStandardLibraryPackageVersion)\build\net461\ref">
|
|
<TargetFramework>net461</TargetFramework>
|
|
</FrameworkLayout>
|
|
</ItemGroup>
|
|
|
|
<UpdatePackageIndex PackageIndexFile="$(PackageIndexFile)"
|
|
Packages="@(AllPackages)"
|
|
InboxFrameworkLayoutFolders="@(FrameworkLayout)" />
|
|
</Target>
|
|
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
|
</Project> |