Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Poor error messages in unresolved dependencies error #206

Closed
Eilon opened this issue May 18, 2014 · 2 comments
Closed

Poor error messages in unresolved dependencies error #206

Eilon opened this issue May 18, 2014 · 2 comments

Comments

@Eilon
Copy link
Member

Eilon commented May 18, 2014

Nice typo here (depedendendencies):
https://github.com/aspnet/KRuntime/blob/058e9871d8b627ac64e827c9f103d6092648dba9/src/Microsoft.Framework.Runtime/DefaultHost.cs#L77

And also it might be nice if we could somehow give better diagnostics regarding exactly what couldn't be found (if possible).

@davidfowl
Copy link
Member

Lol @Eilon what do you mean? Package vs project

@Eilon
Copy link
Member Author

Eilon commented May 18, 2014

Oh I suppose it's saying that none of those dependencies can be found? Makes sense. But I wonder if it might still be able to be better, such as perhaps listing exactly where it looked and if it found any partial matches (e.g. the folder it was looking for existed, but there was no project.json or *.nuspec there or whatever). Think of the error message that MVC gives you when a view couldn't be found. That error message is like super awesome when you're trying to debug why something wasn't found.

But either way, there's a typo there 😄

@davidfowl davidfowl added 0 - Backlog and removed bug labels May 24, 2014
@davidfowl davidfowl added this to the CTP2 milestone May 24, 2014
@davidfowl davidfowl self-assigned this May 24, 2014
davidfowl added a commit that referenced this issue May 26, 2014
- Show all dependencies, one per line in the exception message
- Show all attempted search paths in exception message.

#206
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants