NancyFx/Nancy.Bootstrappers.StructureMap — Issue #5: StructureMapBootstrapper doesn't seem to add default types correctly
Author: rasmuskl
Created: 2011-11-25 20:54:26+00:00
State: open

A clean install of Nancy, Nancy-aspnet, Nancy-razor and Nancy-structuremap seems to have a problem with adding the DefaultRazorConfiguration to the container. On app start-up, you're presented with the following error:

StructureMap Exception Code: 202
No Default Instance defined for PluginFamily Nancy.ViewEngines.Razor.IRazorConfiguration, Nancy.ViewEngines.Razor, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null

I've uploaded a sample solution to http://www.rasmuskl.dk/NancySMTest.zip