diff --git a/build-tools/scripts/DotNet.targets b/build-tools/scripts/DotNet.targets index 9ab6492771f..8ac1249be23 100644 --- a/build-tools/scripts/DotNet.targets +++ b/build-tools/scripts/DotNet.targets @@ -46,7 +46,7 @@ <_TempDirectory>$(DotNetPreviewPath)..\.xa-workload-temp-$([System.IO.Path]::GetRandomFileName()) - $([System.Text.RegularExpressions.Regex]::Match($(MauiVersion), `^\d+\.\d+\.\d`))00 + $(DotNetSdkManifestsFolder) + + + + + + <_NuGetSources Include="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" /> <_InstallArguments Include="--skip-manifest-update" /> <_InstallArguments Include="--verbosity diag" /> - <_InstallArguments Include="--configfile "$(XamarinAndroidSourcePath)NuGet.config"" /> + <_InstallArguments Include="--source "%(_NuGetSources.Identity)"" /> <_InstallArguments Include="--temp-dir "$(_TempDirectory)"" />