File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 4646 <Error Text =" %24(MauiVersion) must be specified." Condition =" '$(MauiVersion)' == '' " />
4747 <PropertyGroup >
4848 <_TempDirectory >$(DotNetPreviewPath)..\.xa-workload-temp-$([System.IO.Path]::GetRandomFileName())</_TempDirectory >
49- <MauiVersionBand >$([System.Text.RegularExpressions.Regex]::Match($(MauiVersion), `^\d+\.\d+\.\d`))00 </MauiVersionBand >
49+ <MauiVersionBand Condition = " '$(MauiVersionBand)' == '' " >$(DotNetSdkManifestsFolder) </MauiVersionBand >
5050 </PropertyGroup >
5151 <MakeDir Directories =" $(_TempDirectory)" />
5252 <Exec
6161 </ItemGroup >
6262 <Copy SourceFiles =" @(_WLManifest)" DestinationFolder =" $(DotNetPreviewPath)sdk-manifests\$(DotNetSdkManifestsFolder)\microsoft.net.sdk.maui" />
6363
64+ <!-- Parse NuGet.config -->
65+ <XmlPeek
66+ XmlInputPath =" $(XamarinAndroidSourcePath)NuGet.config"
67+ Query =" /configuration/packageSources/add/@value" >
68+ <Output TaskParameter =" Result" ItemName =" _NuGetSources" />
69+ </XmlPeek >
70+
6471 <!-- dotnet workload install maui-android -->
6572 <ItemGroup >
73+ <_NuGetSources Include =" https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
6674 <_InstallArguments Include =" --skip-manifest-update" />
6775 <_InstallArguments Include =" --verbosity diag" />
68- <_InstallArguments Include =" --configfile " $(XamarinAndroidSourcePath)NuGet.config " " />
76+ <_InstallArguments Include =" --source " %(_NuGetSources.Identity) " " />
6977 <_InstallArguments Include =" --temp-dir " $(_TempDirectory)" " />
7078 </ItemGroup >
7179 <Exec
You can’t perform that action at this time.
0 commit comments