Merge pull request #1324 from dotnet/prkrishn/1305
Don't filter by TFM when building DependencyContext
This commit is contained in:
commit
b0470fdebb
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ namespace Microsoft.Extensions.DependencyModel
|
|||
{
|
||||
public static DependencyContext Build(CommonCompilerOptions compilerOptions, LibraryExporter libraryExporter, string configuration, NuGetFramework target, string runtime)
|
||||
{
|
||||
var dependencies = libraryExporter.GetAllExports().Where(export => export.Library.Framework.Equals(target)).ToList();
|
||||
var dependencies = libraryExporter.GetAllExports();
|
||||
|
||||
// Sometimes we have package and reference assembly with the same name (System.Runtime for example) thats why we
|
||||
// deduplicating them prefering reference assembly
|
||||
|
|
Loading…
Reference in a new issue