dotnet-installer/pkg/projects/Microsoft.NETCore.App/Microsoft.NETCore.App.pkgproj
Wes Haggard d6a1771c86 Update prerelease version scheme for Microsoft.NETCore.App
Change the version scheme for RC2 to be -rc2-3<CLIBuildVersion>

The reason it needs to be -rc2-3* because it needs to be higher
then the last published version which is -rc2-23931.
2016-04-06 15:26:21 -07:00

51 lines
No EOL
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<Version>1.0.0</Version>
<PackagePlatform>AnyCPU</PackagePlatform>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.NETCore.DotNetHost\Microsoft.NETCore.DotNetHostPolicy.pkgproj">
<TargetFramework>.NETStandard1.0</TargetFramework>
</ProjectReference>
</ItemGroup>
<Target Name="ReadDependenciesFromProjectJsonFile" BeforeTargets="GetPackageDependencies">
<ReadLinesFromFile File="$(MSBuildThisFileDirectory)project.json">
<Output TaskParameter="Lines" ItemName="ProjectJsonLines" />
</ReadLinesFromFile>
<ItemGroup>
<PackageMatch Include="@(ProjectJsonLines)">
<PackageId>$([System.Text.RegularExpressions.Regex]::Match('%(Identity)', '(\w[^:&quot;]*)'))</PackageId>
<PackageVersion>$([System.Text.RegularExpressions.Regex]::Match('%(Identity)', '(\d+\.\d+.\d+[^&quot;]*)'))</PackageVersion>
</PackageMatch>
<Dependency Include="@(PackageMatch -> '%(PackageId)')" Condition="'%(PackageVersion)' != ''">
<Version>%(PackageVersion)</Version>
<TargetFramework>.NETStandard1.0</TargetFramework>
</Dependency>
<!-- List of dependencies to mark as exclude=compile -->
<Dependency Condition="'%(Dependency.Identity)' == 'Microsoft.CodeAnalysis.CSharp'">
<Exclude>Compile</Exclude>
</Dependency>
<Dependency Condition="'%(Dependency.Identity)' == 'Microsoft.CodeAnalysis.VisualBasic'">
<Exclude>Compile</Exclude>
</Dependency>
<Dependency Condition="'%(Dependency.Identity)' == 'System.Runtime.Loader'">
<Exclude>Compile</Exclude>
</Dependency>
</ItemGroup>
<PropertyGroup>
<!-- For RC2 we need to start with -rc2-3 so that it is higher then the last published -rc2-23931 -->
<VersionSuffix>-rc2-3$(CLIBuildVersion)</VersionSuffix>
</PropertyGroup>
</Target>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>