536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
15 lines
811 B
XML
15 lines
811 B
XML
<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>
|