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 5f368f121ed437052ba5314100c9aab720485c7a
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 TrimIncompatibleProjectReferencesWithoutRaisingAnError { get; set; }
public bool TrimIncompatibleProjectReferences { 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 (TrimIncompatibleProjectReferencesWithoutRaisingAnError)
if (TrimIncompatibleProjectReferences)
{
continue;
}
Expand Down