Build errors when using TFM of 17763 #921
Labels
area-Infrastructure
Build, test, source layout, package construction (TODO: move to Deployment, DeveloperTools)
bug
Something isn't working
Milestone
Describe the bug
This is a known issue (we need to update the NuGet package dependencies in the Microsoft.ProjectReunion.WinUI NuGet package). Despite Project Reunion supporting down to build 17763 of Windows 10, if you use the .NET TFM of
net5.0-windows10.0.17763
or set the packaging project's<TargetPlatformVersion>
to 17763 or lower, the project won't build, receiving build errors likeProject XYZ is not compatible with uap10.0.17763
.Workaround
Update your TFM to
net5.0-windows10.0.18362
or higher, and in your packaging project, update your<TargetPlatformVersion>
to 18362 or higher. This will not prevent you from running on 17763 (MinVersion declares that). This only affects what APIs are available (more APIs will be available by targeting a higher version).Steps to reproduce the behavior:
net5.0-windows10.0.17763
, or change the packaging project's<TargetPlatformVersion>
to 17763Expected behavior
Building and deploying should succeed, since Project Reunion supports down to 17763.
Version Info
NuGet package version:
Version 0.5.7 and 0.8.0-preview
Root cause
The
Microsoft.ProjectReunion.WinUI
NuGet package declares a dependency onnet5.0-windows10.0.18362
or higher, when this instead should be targetingnet5.0-windows10.0.17763
. Internal bug number 33525703.The text was updated successfully, but these errors were encountered: