Tweak error handling a little bit

- Handle unresolved projects better in build
- Move unresolved package marking to the resolver
- Added ToString to LibraryKey for easy diagnosis of errors
This commit is contained in:
David Fowler 2016-03-04 01:17:37 -08:00
parent 78dbbfc83d
commit 25b5ce9c77
5 changed files with 19 additions and 15 deletions

View file

@ -50,7 +50,7 @@ namespace Microsoft.DotNet.ProjectModel.Tests
return new PackageDescription(PackagePath,
package ?? new LockFilePackageLibrary(),
target ?? new LockFileTargetLibrary(),
new List<LibraryRange>(), true);
new List<LibraryRange>(), compatible: true, resolved: true);
}
[Fact]