Skip to content

Commit

Permalink
Skip tf-compat checks for solution dependencies
Browse files Browse the repository at this point in the history
Explicitly opts synthetic project references injected by solution
dependencies out of the TargetFramework-compatibility/find-best-match
dance instituted in 15.x for .NET Standard support.

Fixes the most common cause of dotnet#2661.
  • Loading branch information
rainersigwald committed May 15, 2018
1 parent b57bd10 commit a7f9f0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tasks/ResolveProjectBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ protected void AddSyntheticProjectReferences(string currentProjectAbsolutePath)
item.SetMetadata("ReferenceOutputAssembly", "false");
item.SetMetadata("LinkLibraryDependencies", "false");
item.SetMetadata("CopyLocal", "false");
item.SetMetadata("SkipGetTargetFrameworkProperties", "true");

updatedProjectReferenceList.Add(item);
}
Expand Down

0 comments on commit a7f9f0e

Please sign in to comment.