diff --git a/src/Microsoft.Extensions.ProjectModel/ProjectContextBuilder.cs b/src/Microsoft.Extensions.ProjectModel/ProjectContextBuilder.cs index 8866af9c0..92178e1fc 100644 --- a/src/Microsoft.Extensions.ProjectModel/ProjectContextBuilder.cs +++ b/src/Microsoft.Extensions.ProjectModel/ProjectContextBuilder.cs @@ -110,7 +110,7 @@ namespace Microsoft.Extensions.ProjectModel } // Create a library manager - var libraryManager = new LibraryManager(Project.ProjectFilePath, TargetFramework, libraries.Values.ToList(), diagnostics); + var libraryManager = new LibraryManager(Project.ProjectFilePath, libraries.Values.ToList(), diagnostics); return new ProjectContext( GlobalSettings, diff --git a/src/Microsoft.Extensions.ProjectModel/Resolution/LibraryManager.cs b/src/Microsoft.Extensions.ProjectModel/Resolution/LibraryManager.cs index 5b8924b4e..985095661 100644 --- a/src/Microsoft.Extensions.ProjectModel/Resolution/LibraryManager.cs +++ b/src/Microsoft.Extensions.ProjectModel/Resolution/LibraryManager.cs @@ -14,8 +14,7 @@ namespace Microsoft.Extensions.ProjectModel.Resolution private readonly IList _diagnostics; private readonly string _projectPath; - public LibraryManager(string projectPath, - NuGetFramework targetFramework, + public LibraryManager(string projectPath, IList libraries, IList diagnostics) {