The name 'TheMetroTheme' does not exist in the current context

Dec 18, 2012 at 5:09 PM

I just installed the Metro Theme and immediately I received a compiler message: "CS0103: The name 'TheMetroTheme' does not exist in the current context" when I refreshed the homepage.

Does anyone know what could have happened? The offending statement is line 3:

@{ var homeUrl = Href("~/"); }
@if (WorkContext.HttpContext.Items[TheMetroTheme.Constants.ITEM_USE_BRANDING] != null
       && WorkContext.HttpContext.Items[TheMetroTheme.Constants.ITEM_USE_BRANDING] == bool.TrueString)

Dec 18, 2012 at 7:10 PM

Hi samuel

Where did you download the theme?
* Orchard Gallery ?
* Codeplex ?

Do you have try the Sample of Use in the download section?
Do you have same problem?

Which version of the Theme have installed v0.5.0 Alpha or v0.6.0 Alpha ?