diff --git a/eng/cake/dotnet.cake b/eng/cake/dotnet.cake
index 0fd440073a02..dc8124d5c943 100644
--- a/eng/cake/dotnet.cake
+++ b/eng/cake/dotnet.cake
@@ -253,6 +253,7 @@ Task("dotnet-pack-maui")
DotNetTool("pwsh", new DotNetToolSettings
{
DiagnosticOutput = true,
+ ToolPath = dotnetPath,
ArgumentCustomization = args => args.Append($"-NoProfile ./eng/package.ps1 -configuration \"{configuration}\"")
});
});
diff --git a/global.json b/global.json
index 781899b28a20..7d232a13a975 100644
--- a/global.json
+++ b/global.json
@@ -9,6 +9,6 @@
"sdk": {
"version": "7.0.200",
"allowPrerelease": true,
- "rollForward": "latestMinor"
+ "rollForward": "major"
}
}
diff --git a/src/DotNet/DotNet.csproj b/src/DotNet/DotNet.csproj
index 78d733cb038c..4a904b608728 100644
--- a/src/DotNet/DotNet.csproj
+++ b/src/DotNet/DotNet.csproj
@@ -169,8 +169,8 @@