From ec272230d9820aad86c24524dc348ccd9a1c7152 Mon Sep 17 00:00:00 2001 From: michael-hawker <24302614+michael-hawker@users.noreply.github.com> Date: Thu, 2 Feb 2023 16:39:46 -0800 Subject: [PATCH] Reset global.json but add `tool run` to dotnet comand [debug] --- common/GenerateAllSolution.ps1 | 2 +- global.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/GenerateAllSolution.ps1 b/common/GenerateAllSolution.ps1 index 4b188b30c..51f66c3a5 100644 --- a/common/GenerateAllSolution.ps1 +++ b/common/GenerateAllSolution.ps1 @@ -93,7 +93,7 @@ else $diagnostics = "" } -$cmd = "dotnet$sdkoptions slngen -o $generatedSolutionFilePath $slngenConfig $diagnostics--platform $platforms $($projects -Join ' ')" +$cmd = "dotnet$sdkoptions tool run slngen -o $generatedSolutionFilePath $slngenConfig $diagnostics--platform $platforms $($projects -Join ' ')" Write-Output "Running Command: $cmd" diff --git a/global.json b/global.json index 28a83ce45..1ad7848ca 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,7 @@ { "sdk": { - "version": "6.0.405" + "version": "6.0.405", + "rollForward": "latestFeature" }, "msbuild-sdks": {