Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Aug 12, 2024
1 parent 9fad297 commit b81b8b6
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,12 @@ protected override void ExecuteCore()

private static TaskItem[] CreateKnownFrameworkReferences(string windowsSdkPackageVersion, string targetFrameworkVersion, string targetPlatformVersion)
{
// Return two items:
// - No profile: with the entire Windows SDK (including Windows.UI.Xaml.* types), only used by downlevel .NET SDKs.
// We still need to return this item here too so that the filtering logic for profiles will work correctly.
// - "Windows": just the Windows SDK, without anything in Windows.UI.Xaml.*
// Return three items:
// - No profile: with the entire Windows SDK (including Windows.UI.Xaml.* types), only used by downlevel .NET SDKs
// - "Windows": just the Windows SDK, without anything in Windows.UI.Xaml.* .dll
// - "Xaml": just the Windows.UI.Xaml types
//
// Note: we still need to return the item with no profile even if unused, so that the filtering logic for profiles will work correctly.
return
[
CreateKnownFrameworkReference(windowsSdkPackageVersion, targetFrameworkVersion, targetPlatformVersion, profile: null),
Expand Down

0 comments on commit b81b8b6

Please sign in to comment.