Tag Archives: structuremap

No Default Instance defined solved by doing less

StructureMap threw an exception after some refactoring StructureMap Exception Code: 202 No Default Instance defined for PluginFamily IDoSomething Solved by removing duplicates from assembly scan: Turned out the IDoSomething was mapped to 2 implementations (of the same type) and StructureMap … Continue reading

Posted in Development | Tagged | Leave a comment

Nuget trouble

Keeping the versions of packages in sync was difficult today. My MVC website must load and display a controller / view from another project. The assembly is in the bin folder and the objects are loaded using Structuremap. When running … Continue reading

Posted in Development | Tagged , , , | 1 Comment