We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae09499 commit 8334c6dCopy full SHA for 8334c6d
csharp/autobuilder/Semmle.Autobuild.Shared/MsBuildRule.cs
@@ -82,7 +82,12 @@ BuildScript GetNugetRestoreScript() =>
82
Argument("/t:restore").
83
QuoteArgument(projectOrSolution.FullPath);
84
85
- if (nugetDownloaded)
+ if (builder.Actions.IsRunningOnAppleSilicon())
86
+ {
87
+ // On Apple Silicon, only try package restore with `dotnet msbuild /t:restore`
88
+ ret &= BuildScript.Try(msbuildRestoreCommand.Script);
89
+ }
90
+ else if (nugetDownloaded)
91
{
92
ret &= BuildScript.Try(nugetRestore | msbuildRestoreCommand.Script);
93
}
0 commit comments