Inhalte aufrufen

Profilbild

Mobile theme issue


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
1 Antwort zu diesem Thema

#1 net4u

net4u

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 48 Beiträge

Geschrieben: 11 March 2015 - 13:47

Hi

 

I noticed that from some time the mobile theme throw this error:

//

Compiler error message: CS1061:

'System.Web.Webpages.Html.HtmlHelper' does not contain a definition for 'AppendCSSFileParts, and no extension method 'AppendCSSFileParts' accepting  a first argument of type 'System.Web.Webpages.HTML.HtmlHelper' could be found (are you missing a a using directive or an assembly reference?)

Source error:

Line1: @

Line2: Html.AppendCSSFileParts(Url.Content("~/Themes/Mobile/Contnent/jquery.mobile-1.3.2.min.css"))

 

Source file:

d:\Websites\Applications\infosystems4u.ro\SmartStoreNet\Themes\Mobile\Views\Shared\Head.Mobile.cshtml

 

//

This is with folder's specific web.config "commented". If are "uncommented" I have no error, but the theme is rendered not styled, as raw text.

Any hints please? I am on 2.1.1.0



#2 net4u

net4u

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 48 Beiträge

Geschrieben: 11 March 2015 - 13:59

Solved:

keeping web.config from views folder, discarded web.config from content folder.