theme as pjs.bootstrap

Topics: Writing themes
Jul 15, 2014 at 6:53 AM
Edited Jul 15, 2014 at 6:58 AM
Hi I'm trying to write theme as here

I have project in VS named My.PJS.Bootstrap
When I delete pjs.bootstrap from themes directory my theme is working good
But when pjs.bootstrap is in themes directory too
Exception is thrown when trying to open

Additional information: The model item passed into the dictionary is of type 'PJS.Bootstrap.Models.ThemeSettingsPart', but this dictionary requires a model item of type 'My.Bootstrap.Models.ThemeSettingsPart'.

I notice that wrong Model is being choosed here
static void RenderInternal(HtmlHelper Html, TextWriter Output, string TemplateName, object Model, string Prefix) in class CoreShapes

Can someone help?
Feb 7, 2015 at 8:56 PM
Recycle application poll every time you edit the PJS.Bootstrap.csproj file and adding anything, bad error based on session storage
It should be var settings = WorkContext.CurrentSite.As<BootstrapThemeSettingsPart> not ThemeSettingsPart