Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to dotLess 1.4.1 #23

Closed
Huppie opened this issue Dec 4, 2014 · 4 comments
Closed

Upgrade to dotLess 1.4.1 #23

Huppie opened this issue Dec 4, 2014 · 4 comments
Assignees

Comments

@Huppie
Copy link

Huppie commented Dec 4, 2014

Hi,

I ran into an issue trying to use System.Web.Optimization.Less in combination with a newer bootstrap version. It looks like this package is still using an old version of dotLess. Could you have a look if the package can be upgraded to use dotLess 1.4.1?

Thanks!

@scott-xu scott-xu self-assigned this Jan 17, 2015
@sanmolhec
Copy link

+1.

Please upgrade to dotLess 1.5.x

Thanks

@sanmolhec
Copy link

Hi.

As a solution while System.Web.Optimization.Less integrates dotLess 1.5.X natively, a trick can be made for you to use:

  • install System.Web.Optimization.Less.
    
  • update the dotLess nuget package (to its current version 1.5.2.0).
    
  • force on the web.config the bridge from the old library to the new one:
    

<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> ... <!-- dotless 1.5 system.web.optimization.less --> <dependentAssembly> <assemblyIdentity name="dotless.Core" publicKeyToken="96b446c9e63eae34" culture="neutral"/> <bindingRedirect oldVersion="1.4.0.0" newVersion="1.5.2.0"/> </dependentAssembly> </assemblyBinding> </runtime>

With these steps we are using the new dotLess library and can already import *.less files into *.less files.

I hope it helps them.

For more information see this website: http://www.brendanforster.com/blog/yet-another-implement-less-in-aspnetmvc-post.html

Greetings, Hector.

@twenzel
Copy link
Contributor

twenzel commented May 2, 2018

Created PR #28

@scott-xu
Copy link
Owner

scott-xu commented Dec 8, 2019

fixed in the latest release.

@scott-xu scott-xu closed this as completed Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants