I just hit this problem recently:
When calling DiContainer.Resolve(), I received a NullReferenceException, and took quite some time to figure out why.
It turned out that my installer failed to copy one of my .dlls.
In a similar case the .Net Framework throws a more specific TypeLoadException, which would have been helpful in this case too.
I just hit this problem recently: When calling DiContainer.Resolve(), I received a NullReferenceException, and took quite some time to figure out why.
It turned out that my installer failed to copy one of my .dlls.
In a similar case the .Net Framework throws a more specific TypeLoadException, which would have been helpful in this case too.
Castle.Core version: 4.4.1 Castle.Windsor version: 5.0.1 .Net Framework 4.5.2