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

Please support dotless versions > 1.40 #27

Closed
matttrakker opened this issue Jun 20, 2016 · 4 comments
Closed

Please support dotless versions > 1.40 #27

matttrakker opened this issue Jun 20, 2016 · 4 comments

Comments

@matttrakker
Copy link

Hello,

your dependency information is telling that your package supports ">= 1.4.0".
But when I upgrade this package to something >= 1.4.0 (1.4.4 or the latest 1.5.2) your System.Web.Optimization.Less is raising an exception because it cannot solve dotless 1.4.0.

It would be great if you update your dependency description or even better, if you allow to use >= 1.4.0

Thanks and best regards,

matthias

@sanmolhec
Copy link

sanmolhec commented Dec 26, 2017

+1

Upgrade to dotLess 1.5.x please.

Thanks a lot.

@sanmolhec
Copy link

sanmolhec commented Dec 28, 2017

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