Fixing a build break on windows.
This commit is contained in:
parent
2acd4474de
commit
2ea227e388
3 changed files with 4 additions and 2 deletions
|
@ -30,6 +30,9 @@
|
|||
},
|
||||
"System.Threading.Tasks": {
|
||||
"type": "build"
|
||||
},
|
||||
"System.Text.Encoding": {
|
||||
"type": "build"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -60,7 +60,6 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
|
||||
if (!possibleProjectDependencies.TryGetValue(projectExportName, out projectDependency))
|
||||
{
|
||||
Console.WriteLine($"Don't have it: {projectExportName} {projectExport.Library.Identity.Type}");
|
||||
if (projectExport.Library.Identity.Type.Equals(LibraryType.Project)
|
||||
&& !preResolvedProjects.Contains(projectExportName))
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace Microsoft.DotNet.ProjectModel.Resolution
|
|||
new LibraryIdentity(
|
||||
libraryDependency.Name,
|
||||
libraryDependency.LibraryRange.VersionRange?.MinVersion,
|
||||
libraryDependency.LibraryRange.TypeConstraint == LibraryDependencyTarget.Project ? LibraryType.Project : LibraryType.Unresolved),
|
||||
GetLibraryTypeFromLibraryDependencyTarget(libraryDependency.LibraryRange.TypeConstraint)),
|
||||
hash: null,
|
||||
path: null,
|
||||
dependencies: Enumerable.Empty<ProjectLibraryDependency>(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue