blob: 5a8a7d521e9d61c4c9a18571a0174537ced04a74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\Microsoft.Private.PackageBaseline\Microsoft.Private.PackageBaseline.props" />
<PropertyGroup>
<!-- Set PackageIndexFile to point to our local repo's index. This tells the packaging targets
which index should be used for updates -->
<PackageIndexFile>$(MSBuildThisFileDirectory)..\Microsoft.Private.PackageBaseline\packageIndex.json</PackageIndexFile>
</PropertyGroup>
<Target Name="BlockStable" Condition="'$(BlockStable)' == 'true'" AfterTargets="CalculatePackageVersion">
<!-- DO NOT ship this packages as stable in .NET Core 2.0. -->
<Error Condition="!$(PackageVersion.Contains('-'))" Text="Package $(Id) should not be built stable" />
</Target>
</Project>
|