dotless Questions

7

Solved

I've written an ASP.NET MVC action method that receives a .less file name, processes it via Less.Parse(<filename>) and outputs the processed css file. This works fine as long as the .less c...
Pantaloon asked 25/1, 2011 at 19:53

2

Solved

I've got a .less stylesheet with the following construct: @width:600; .some-style { width:@{width}px; } and this gives the following error: Expected '}' on line x in file '..\styles.less' I...
Nathan asked 20/12, 2012 at 16:12

6

I have installed dotless via Package Manager in VS2012 in to an existing mixed C# solution (Class libraries and MVC2 apps), however now when I build it (F5) I get the following two errors: The c...
Kunkle asked 20/6, 2012 at 8:40

3

Solved

I'm struggling with the dotLESS @import to have a separate variables file; I just constantly get "variable is undefined". If I browse to the variable config file it works; if I put the variables i...
Bagwig asked 14/6, 2018 at 11:8

4

Hi I'm trying to run dotless on my local .net4 web site My web config looks like this: <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name...
Antisepticize asked 23/7, 2013 at 10:2

2

I hope I'm not creating a duplicate topic, but I've been searching for two days and can't find a solution to this. We are starting a new project in MVC4 and we have the less version of bootstrap l...
Wuhan asked 15/11, 2012 at 17:54

1

Solved

If I have: .foo { background-color:#fff; } LESS converts this to: .foo { background-color:white; } Why is this? Do browsers process named colours faster than HEX values? I'm implementing L...
Cypripedium asked 3/9, 2014 at 9:31

2

Solved

I'm using Azure SDK 2.2 and created a brand new MVC 5 web project. I added dotless, bootstrap-less (and subsequently updated to the latest LESS from getbootstrap.com), and font-awesome. I'm updated...
Fortdefrance asked 21/2, 2014 at 16:46

1

How do I import .less files with string interpolation in the pathstring. @folder: "LessFiles"; I tried this @import "@{folder}/file.less"; Error: File Not Found. HTTP GET Url is "%7Bfolder%7D...
Levitt asked 11/9, 2012 at 12:5

4

Solved

I have this folders structure: ~/css/file1.less ~/css/folder/file2.less What I want to do is importing file1.less inside file2.less, so in my file2.less I have this code: @import "../file1.less...
Ashly asked 13/1, 2012 at 11:55

1

Solved

I have an Azure website. I also have dotless running in my MVC app to translate and bundle Less files. When I deploy a release build to Azure, the Less file returns 404 unless I set it to Build Act...
Danielledaniels asked 26/2, 2014 at 16:16

1

Solved

I'm using Dotless and System.Web.Optimizations.LessBundle to include Less stylesheets in my MVC 5 app. Everything is working in Debug and Release on my local machine. I basically followed the same...
Alley asked 24/2, 2014 at 14:57

4

Solved

I use dotless 1.3.1.0 compiling less-files. This worked fine with bootstrap 2.x, but after switching to bootstrap 3.0.0 (downloaded the source from here: http://getbootstrap.com/getting-started/), ...
Choker asked 30/8, 2013 at 8:35

2

Solved

I've been successfully using .less files in my dev Cassini server (with dotless) for a few weeks but when I publish to my local IIS server they yield 404 errors. Attaching my debugger to IIS yields...
Succuss asked 17/5, 2011 at 0:53

1

Solved

I have just installed the Visual Studio 2013 preview and run up my site. I've noticed that the less files which are used in my site are not being correctly transformed to css and are coming down as...
Vento asked 29/6, 2013 at 0:22

2

Solved

I'm experimenting with LESS (not a fan of the SASS syntax) and have been trying to find out what the best way to do media queries with it would be. I read through this blog post on how to "do" med...
Vallee asked 21/11, 2012 at 23:42

7

Solved

I wonder if there is a way to precompile *.less files(http://www.dotlesscss.org/) with visual studio. The site gives me a dotless.compiler.exe but I am not sure how to hook this up to visual stud...
Ehtelehud asked 1/2, 2010 at 12:47

1

Solved

In my ASP.NET MVC application I have an action that returns LESS variables. I would like to import these variables into my main LESS file. What is the recommended approach for doing this since Do...
Cha asked 20/6, 2012 at 22:0

1

Solved

The dotless documentation is quite limited. I can't find much information at all about the configsection options - especially what the "web" attribute does. Can anyone enlighten me?
Wrong asked 21/6, 2012 at 11:13

2

Solved

The .less library calls itself a port of ruby LESS library. Can I take away from that that they both are compilers for the same LESS file format or do they expect subtly different less code? Asked ...
Prevost asked 16/6, 2011 at 20:11

4

Solved

I've recently found out about the DotLess library and I was so excited about it because CSS has been always annoying for me. I thought this library would be very convenient to use. Unfortunately, o...
Companionship asked 22/3, 2011 at 21:8

2

Solved

Intro: I'm trying out LESS in an asp.net mvc environment. I use dotless for server side processing (and I wouldn't want to use client side processing especially afer publishing the complete proje...
Constructive asked 11/2, 2012 at 9:27

1

Solved

Originally I had my css .less file named Site.less.css so that intelligent type is active. Which worked fine. I've recently needed to use the @import "Site.less"; ability. And unfortunately this d...
Moguel asked 2/2, 2012 at 11:9

1

Solved

Is there a library out there that will allow me to write the following kind of code, which parses CSS and returns a queryable object model string input = "p, span { font-family: arial; }"; var css...
Inflexed asked 25/7, 2011 at 10:32

4

Solved

I am using Phil Haack's T4CSS T4 template based on .less One bad thing about Phil's solution is that visual studio opens the .less files as plain text files rather than as css files. (Thus no inte...
Brilliant asked 27/2, 2010 at 4:32

© 2022 - 2024 — McMap. All rights reserved.