Meta package to provide backward compatibility. Please choose either dotless.AspNet or dotless.Core. This is a project to port the hugely useful Less libary to the .NET world. It give variables, nested rules and operators to CSS. For more information about the original Less project see http://lesscss.org/ or http://github.com/dotless/dotless. For more information about how to get started with the .NET version see http://www.dotlesscss.org/.


Keywords
less, compile, css, dotnet
License
Apache-2.0
Install
Install-Package dotless -Version 1.6.7

Documentation

Ask questions or join the community using the Gitter

Build status: Build status

NuGet package Version information Description
dotless.Core NuGet Less compiler
dotless.AspNetHandler NuGet ASP.NET Handler to compile less files on the fly
dotless NuGet Backward compatible package (containing Core and ASP.NET Handler). Please upgrade to either dotless.AspNetHandler or to dotless.Core if you don't need ASP.NET stuff
dotless.CLI NuGet Command line interface (console application) to compile less files

.NET Framework version support

Starting with version 1.6 following .NET Framworks are suported:

  • .NET Framework 4.5.1
  • .NET Framework 4.6.1
  • .NET Framework 4.7
  • .NET Standard 2.0 (.NET Core 2.0, Mono 5.4, .NET Framework 4.6.1+)

If your application/library don't run on any of these Frameworks you have to stick with version 1.5.3.

Just Want a .dll?

If you don't care about the source and just want a .dll you can get a compiled release from Github.

Simply select for the latest successful build and click on the "Artifacts" section, here you'll find the latest compiler exe and any dll's required.

Or use the Core NuGet package.

Whats this all about?

This is a project to port the hugely useful Less libary to the .NET world. It give variables, nested rules and operators to CSS.

For more information about the original Less project see http://lesscss.org/. For more information about how to get started with the .NET version see http://www.dotlesscss.org/.

ASP.NET Core Handler

If you want to have a handler for ASP.NET Core applications please check out WebOptimizer.Dotless.