Site.less' is a physical path, but a virtual path was

89 views
Skip to first unread message

jtg...@gmail.com

unread,
Apr 7, 2013, 7:15:52 PM4/7/13
to dot...@googlegroups.com
Hi guys,
Been playing around with bundling and having a few teething problems, I have stepped through the code and tried a few things but I seem to be missing the mark any help we be greate and perhaps pointing me towards some tutorials or documentation would be nice to.

So I'm basically get this error.
'C:/SourceControl/Git/70-480Example/70-480Example/Content/css/LESS/Site.less' is a physical path, but a virtual path was

from this file (mvc4 proj btw) /Content/css/Main.less

which has a few imports:-

@import "LESS\Site.less";
@import "LESS\Site.Main.less";

body {
    #featured-posts {
        clear:both;
    }
}

@media all and (max-width:320px) {
    @import "LESS\Site.Mobile.less";
}

where all imports are in /Content/css/LESS/<%files%>.less etc

I've tried various things when stepping through such as '\' instead but then can't find the file at all or '/' which throws the virtual path issue. any help would be appreciated, I'm not looking for an easy quick fix would prefer someone pointing to something where I can start from square one and really learn this, regards.

TIA




jtg...@gmail.com

unread,
Apr 7, 2013, 7:16:47 PM4/7/13
to dot...@googlegroups.com, jtg...@gmail.com
sorry here's the full error {"'C:/SourceControl/Git/70-480Example/70-480Example/Content/css/LESS/Site.less' is a physical path, but a virtual path was expected."}

jtg...@gmail.com

unread,
Apr 7, 2013, 7:24:53 PM4/7/13
to dot...@googlegroups.com, jtg...@gmail.com
Also blows up on  dotless.Core.LessWeb.Parse(content, _configuration)


On Monday, April 8, 2013 12:15:52 AM UTC+1, jtg...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages