Skip to content

Commit f68b369

Browse files
committed
Fix UWP detection on modern .NET
1 parent 74109d6 commit f68b369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/AppServices/CommunityToolkit.AppServices.SourceGenerators/AppServiceGenerator.Helpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static bool IsUwpTarget(Compilation compilation, AnalyzerConfigOptions an
3434
{
3535
if (bool.TryParse(propertyValue, out bool useUwpTools))
3636
{
37-
return true;
37+
return useUwpTools;
3838
}
3939
}
4040

0 commit comments

Comments
 (0)