This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] Don't warn for UWP TargetVersion on Class Libraries #10368
Labels
Projects
Milestone
Description
When building a class library targeting a versin lower than 17763, but still above the min version of 14393, you get an unnecessary build warning:
This is coming from here:
Xamarin.Forms/.nuspec/Xamarin.Forms.targets
Lines 233 to 235 in 4a2a14e
This warning has no use for class libraries and should only apply to application projects. Only thing required here is that we stay within the minversion.
Steps to Reproduce
Expected Behavior
No warning is generated
Actual Behavior
Build Warning about target version being too low.
Basic Information
Workaround
The targets file doesn't seem to have a variable you can set to skip the version check.
However would be better if the warning was only done for app projects.
The text was updated successfully, but these errors were encountered: