Add NuGet version to DependencyVersions.props.

This commit is contained in:
Eric Erhardt 2017-01-10 10:43:14 -06:00
parent 006fd49e5c
commit 5035320247
8 changed files with 26 additions and 23 deletions

View file

@ -1,4 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup> <PropertyGroup>
<VersionPrefix>1.0.0-rc</VersionPrefix> <VersionPrefix>1.0.0-rc</VersionPrefix>
<TargetFramework>netcoreapp1.0</TargetFramework> <TargetFramework>netcoreapp1.0</TargetFramework>
@ -24,7 +26,7 @@
<Version>1.0.3</Version> <Version>1.0.3</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.Frameworks"> <PackageReference Include="NuGet.Frameworks">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.DotNet.Cli.Utils"> <PackageReference Include="Microsoft.DotNet.Cli.Utils">
<Version>$(SdkNugetVersion)</Version> <Version>$(SdkNugetVersion)</Version>

View file

@ -2,7 +2,7 @@
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<ItemGroup> <ItemGroup>
<BundledSdk Include="NuGet.Build.Tasks.Pack" Version="4.0.0-rc3" /> <BundledSdk Include="NuGet.Build.Tasks.Pack" Version="$(CLI_NuGet_Version)" />
<BundledSdk Include="Microsoft.NET.Sdk" Version="$(CLI_NETSDK_Version)" /> <BundledSdk Include="Microsoft.NET.Sdk" Version="$(CLI_NETSDK_Version)" />
<BundledSdk Include="Microsoft.NET.Sdk.Web" Version="$(CLI_WEBSDK_Version)" /> <BundledSdk Include="Microsoft.NET.Sdk.Web" Version="$(CLI_WEBSDK_Version)" />
<BundledSdk Include="Microsoft.NET.Sdk.Publish" Version="$(CLI_WEBSDK_Version)" /> <BundledSdk Include="Microsoft.NET.Sdk.Publish" Version="$(CLI_WEBSDK_Version)" />

View file

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<CLI_MSBuild_Version>15.1.0-preview-000503-01</CLI_MSBuild_Version> <CLI_MSBuild_Version>15.1.0-preview-000503-01</CLI_MSBuild_Version>
<CLI_Roslyn_Version>2.0.0-rc3-61212-03</CLI_Roslyn_Version> <CLI_Roslyn_Version>2.0.0-rc3-61212-03</CLI_Roslyn_Version>
<CLI_NETSDK_Version>1.0.0-alpha-20170105-5</CLI_NETSDK_Version> <CLI_NuGet_Version>4.0.0-rc3</CLI_NuGet_Version>
<CLI_WEBSDK_Version>1.0.0-alpha-20170106-1-203</CLI_WEBSDK_Version> <CLI_NETSDK_Version>1.0.0-alpha-20170105-5</CLI_NETSDK_Version>
<CLI_TestPlatform_Version>15.0.0-preview-20170106-08</CLI_TestPlatform_Version> <CLI_WEBSDK_Version>1.0.0-alpha-20170106-1-203</CLI_WEBSDK_Version>
<CLI_TestPlatform_Version>15.0.0-preview-20170106-08</CLI_TestPlatform_Version>
<TemplateEngineVersion>1.0.0-beta1-20170106-79</TemplateEngineVersion> <TemplateEngineVersion>1.0.0-beta1-20170106-79</TemplateEngineVersion>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View file

@ -41,7 +41,7 @@
<Version>7.2.1</Version> <Version>7.2.1</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.CommandLine.XPlat"> <PackageReference Include="NuGet.CommandLine.XPlat">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.Build.Utilities.Core"> <PackageReference Include="Microsoft.Build.Utilities.Core">
<Version>$(CLI_MSBuild_Version)</Version> <Version>$(CLI_MSBuild_Version)</Version>

View file

@ -18,16 +18,16 @@
<Version>1.0.1-beta-000933</Version> <Version>1.0.1-beta-000933</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.Versioning"> <PackageReference Include="NuGet.Versioning">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.Packaging"> <PackageReference Include="NuGet.Packaging">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.Frameworks"> <PackageReference Include="NuGet.Frameworks">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.ProjectModel"> <PackageReference Include="NuGet.ProjectModel">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.Build"> <PackageReference Include="Microsoft.Build">
<Version>$(CLI_MSBuild_Version)</Version> <Version>$(CLI_MSBuild_Version)</Version>

View file

@ -15,7 +15,7 @@
<Version>$(CLI_MSBuild_Version)</Version> <Version>$(CLI_MSBuild_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.Build.Tasks"> <PackageReference Include="NuGet.Build.Tasks">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.TestPlatform.CLI"> <PackageReference Include="Microsoft.TestPlatform.CLI">
<Version>$(CLI_TestPlatform_Version)</Version> <Version>$(CLI_TestPlatform_Version)</Version>

View file

@ -10,7 +10,7 @@
<Version>1.0.3</Version> <Version>1.0.3</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.CommandLine.XPlat"> <PackageReference Include="NuGet.CommandLine.XPlat">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
</ItemGroup> </ItemGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">

View file

@ -57,16 +57,16 @@
<Version>4.1.1</Version> <Version>4.1.1</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.Versioning"> <PackageReference Include="NuGet.Versioning">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.Packaging"> <PackageReference Include="NuGet.Packaging">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.Frameworks"> <PackageReference Include="NuGet.Frameworks">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="NuGet.ProjectModel"> <PackageReference Include="NuGet.ProjectModel">
<Version>4.0.0-rc3</Version> <Version>$(CLI_NuGet_Version)</Version>
</PackageReference> </PackageReference>
<PackageReference Include="moq.netcore"> <PackageReference Include="moq.netcore">
<Version>4.4.0-beta8</Version> <Version>4.4.0-beta8</Version>