Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update ChooseBestP2PTargetFrameworkTask.cs
  • Loading branch information
ViktorHofer authored Feb 11, 2022
commit 77aaf652c625ae840980443eacb5ea75eccdcbca
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