Skip to content

Commit

Permalink
Ensure SDK version for WinUI when using WinAppSDK1.6+
Browse files Browse the repository at this point in the history
  • Loading branch information
dotMorten authored Dec 5, 2024
1 parent 133e345 commit e608c5a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.$(ArcGISRuntime_MinimumSupportedWindowsBuild).0</TargetPlatformMinVersion>
<DefineConstants>$(DefineConstants);MAUI</DefineConstants>
<Nullable>annotations</Nullable>
<WindowsSdkPackageVersion Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(WinAppSDKVersion)','1.6.240923002'))">10.0.19041.38</WindowsSdkPackageVersion> <!-- Workaround for older .NET SDKs. Not needed with VS17.12+ -->
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit e608c5a

Please sign in to comment.