Use property notation instead of item

This commit is contained in:
Jackson Schuster 2024-02-28 09:56:49 -08:00
parent 45728f7ba5
commit b6fba7eb7c
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
<Output TaskParameter="BestSdkTarballItem" PropertyName="_TestSdkArchivePath"/>
</GetSingleTarballItem>
<GetClosestOfficialSdk BuiltSdkPath="$(_TestSdkArchivePath)" Condition="'@(_TestSdkArchivePath)' != ''">
<GetClosestOfficialSdk BuiltSdkPath="$(_TestSdkArchivePath)" Condition="'$(_TestSdkArchivePath)' != ''">
<Output TaskParameter="ClosestOfficialSdkPath" PropertyName="ClosestOfficialSdkPath" />
</GetClosestOfficialSdk>

View file

@ -26,7 +26,7 @@ public class GetClosestOfficialSdk : Microsoft.Build.Utilities.Task
string downloadUrl = GetLatestOfficialSdkUrl(versionString, rid, extension);
Log.LogMessage($"Downloading {downloadUrl}");
Log.LogMessage(MessageImportance.High, $"Downloading {downloadUrl}");
var handler = new HttpClientHandler()
{
AllowAutoRedirect = false