Fix up diagnostics

- Show all diagnostics and the relevant location in project.json
even for transitive dependencies
- Removed LibraryRange from LibraryDescription and added a list instead
- Show stack traces in debug mode
- Fixed LibraryType.GetHashCode()
This commit is contained in:
David Fowler 2015-10-20 01:43:37 -07:00
parent 89d3d710de
commit 086207ebcc
12 changed files with 131 additions and 109 deletions

View file

@ -58,7 +58,11 @@ namespace Microsoft.DotNet.Tools.Publish
}
catch (Exception ex)
{
#if DEBUG
Console.Error.WriteLine(ex);
#else
Console.Error.WriteLine(ex.Message);
#endif
return 1;
}
}