Use property notation instead of item
This commit is contained in:
parent
45728f7ba5
commit
b6fba7eb7c
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue