Fix Microsoft.NETCore.Platforms builds on Unix (#57757)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 19 Aug 2021 22:50:46 +0000 (00:50 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Aug 2021 22:50:46 +0000 (00:50 +0200)
The casing of the SDK imported via the Sdk attribute was wrong which lead to:

Microsoft.NETCore.Platforms.csproj : error MSB4236: The SDK 'Microsoft.NET.SDK' specified could not be found.

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj

index 71cf1e9..3872248 100644 (file)
@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.SDK">
+<Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
     <TargetFrameworks>$(NetCoreAppToolCurrent);net472</TargetFrameworks>
     <!-- This project should not build against the live built .NETCoreApp targeting pack as it contributes to the build itself. -->