Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Pinning the MSBuild Minimum version to 15.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
livarcocc committed May 25, 2017
1 parent 1a11756 commit db68d45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Microsoft.DotNet.MSBuildSdkResolver/MSBuildSdkResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public override SdkResult Resolve(SdkReference sdkReference, SdkResolverContext
new[]
{
$"Version {netcoreSdkVersion} of the .NET Core SDK requires at least version {minimumMSBuildVersionString}"
+ $" of msbuild. The current available version of msbuild is {context.MSBuildVersion.ToString()}."
+ " Change the .NET Core SDK specified in global.json to an older version that requires the msbuild"
+ $" of MSBuild. The current available version of MSBuild is {context.MSBuildVersion.ToString()}."
+ " Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild"
+ " version currently available."
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/redist/minimumMSBuildVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15.3.246
15.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ public void ItReturnsNullWhenTheSDKRequiresAHigherVersionOfMSBuildThanTheOneAvai
result.Path.Should().BeNull();
result.Version.Should().BeNull();
result.Warnings.Should().BeNullOrEmpty();
result.Errors.Should().Contain("Version 99.99.99 of the .NET Core SDK requires at least version 2.0 of msbuild."
+ " The current available version of msbuild is 1.0. Change the .NET Core SDK specified in global.json to an older"
+ " version that requires the msbuild version currently available.");
result.Errors.Should().Contain("Version 99.99.99 of the .NET Core SDK requires at least version 2.0 of MSBuild."
+ " The current available version of MSBuild is 1.0. Change the .NET Core SDK specified in global.json to an older"
+ " version that requires the MSBuild version currently available.");
}

[Fact]
Expand Down

0 comments on commit db68d45

Please sign in to comment.