Skip to content

Commit

Permalink
Update ChooseBestP2PTargetFrameworkTask.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorHofer authored Feb 11, 2022
1 parent 5f368f1 commit 77aaf65
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class ChooseBestP2PTargetFrameworkTask : BuildTask
[Required]
public string TargetFramework { get; set; }

public bool TrimIncompatibleProjectReferences { get; set; }
public bool OmitIncompatibleProjectReferences { get; set; }

[Output]
public ITaskItem[] AnnotatedProjectReferencesWithSetTargetFramework { get; set; }
Expand Down Expand Up @@ -48,7 +48,7 @@ public override bool Execute()
string bestTargetFramework = targetFrameworkResolver.GetBestSupportedTargetFramework(targetFrameworks, referringTargetFramework);
if (bestTargetFramework == null)
{
if (TrimIncompatibleProjectReferences)
if (OmitIncompatibleProjectReferences)
{
continue;
}
Expand Down

0 comments on commit 77aaf65

Please sign in to comment.