This repository was archived by the owner on Nov 2, 2018. It is now read-only.
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
Improve error message for "No parameterless constructor defined for this object" #310
Closed
Description
This error message will manifest if a constructor is private, but is a dependency of another class. The following exception is thrown in beta7:
System.MissingMethodException: No parameterless constructor defined for this object.
It would be great if the message would identify the type with the missing constructor. Otherwise, one must resort to binary search debugging (commenting out various DI inputs) or similar efforts.