microsoft / WindowsAppSDK

The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
https://docs.microsoft.com/windows/apps/windows-app-sdk/
MIT License
3.85k stars 323 forks source link

Fix BuildAll Error Stemming from StrictMode and Retarget Solution #4740

Closed kythant closed 1 month ago

kythant commented 1 month ago

Strictmode was causing the failure below

The variable '$WindowsAppSDKVersionProperty' cannot be retrieved because it has not been set.

at <ScriptBlock>, D:\WindowsAppSDK\BuildAll.ps1: line 162

The fix was to simply declare the variable outside of the scope.

kythant commented 1 month ago

/azp run

azure-pipelines[bot] commented 1 month ago
Azure Pipelines successfully started running 1 pipeline(s).