Bump global.json dotnet version (#33735)
authorEgor Bogatov <egorbo@gmail.com>
Thu, 19 Mar 2020 11:00:23 +0000 (14:00 +0300)
committerGitHub <noreply@github.com>
Thu, 19 Mar 2020 11:00:23 +0000 (12:00 +0100)
global.json
src/mono/mono.proj

index c7d9fc3..492eed9 100644 (file)
@@ -5,7 +5,7 @@
     "rollForward": "major"
   },
   "tools": {
-    "dotnet": "5.0.100-preview.2.20157.1"
+    "dotnet": "5.0.100-preview.3.20168.11"
   },
   "native-tools": {
     "cmake": "3.14.2",
index 6d571e5..d52d8dc 100644 (file)
 
   <Target Name="ValidateLocalDotnet">
     <Error Condition="$([System.IO.Directory]::GetDirectories('$(LocalDotnetDir)\shared\Microsoft.NETCore.App').Length) > 1" Text="$(LocalDotnetDir) contains more than one SDK, please delete unused ones." />
-    <Error Condition="$([System.IO.Directory]::GetDirectories('$(LocalMonoDotnetDir)\shared\Microsoft.NETCore.App').Length) > 1" Text="$(LocalMonoDotnetDir) contains more than one SDK, please delete unused ones." />
+    <Error Condition="Exists('$(LocalMonoDotnetDir)') AND $([System.IO.Directory]::GetDirectories('$(LocalMonoDotnetDir)\shared\Microsoft.NETCore.App').Length) > 1" Text="$(LocalMonoDotnetDir) contains more than one SDK, please delete unused ones." />
     <Error Condition="!Exists('$(LocalDotnet)')" Text="'$(LocalDotnet)' doesn't exist." />
   </Target>