Skip to content

Commit d9474fb

Browse files
Update override-windows-sdk-package-version.md (#44445)
1 parent cd70f26 commit d9474fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/core/compatibility/sdk/5.0/override-windows-sdk-package-version.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ This change was introduced to simplify the package override behavior for targeti
4747

4848
Remove any use of `FrameworkReference` in your .NET 5+ app's project file when targeting the Windows SDK.
4949

50+
When working with the [Windows App SDK](https://github.com/microsoft/WindowsAppSDK), you might need to explicitly add the `WindowsSdkPackageVersion` property if the required [Windows SDK package](https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref) version cannot be resolved by .NET SDK. This issue can arise due to different release mechanisms for the Windows App SDK and .NET SDK, where the .NET SDK is shipped through Visual Studio. See details in this [GitHub issue](https://github.com/microsoft/WindowsAppSDK/issues/4734). You might also consider removing the `WindowsSdkPackageVersion` property once the required Windows SDK package version has been resolved by .NET SDK, ensuring you have the latest Windows SDK package. This typically happens after Visual Studio releases a new version and you've upgraded to that version.
51+
5052
## Affected APIs
5153

5254
Windows APIs in .NET 5 and later versions that are provided by the [Windows SDK targeting package](https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref).

0 commit comments

Comments
 (0)