Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

.Less to .css #7666


User avatar
0
razkhan78 created

Hello

Is there a any way to generate css file from less file ? As we have some less files in project solution but doesn't seems to be changing while save or compile. Let us know if need to install any tool or vsix in visual studio?

Thanks


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team
    • What is your product version?
    • What is your product type (Angular or MVC)?
    • What is product framework type (.net framework or .net core)?
  • User Avatar
    0
    razkhan78 created

    AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core

  • User Avatar
    0
    maliming created
    Support Team

    Are you sure you are using Zero v4.0 and net core 1.1? Or abp v4.0?

  • User Avatar
    0
    razkhan78 created

    We are using .Net Core 2.1.

  • User Avatar
    0
    maliming created
    Support Team

    This is the documentation for Zero v4.0.

    Bundling, Minifying and Compiling

    ASP.NET Zero uses Bundler & Minifier Visual Studio extension(https://visualstudiogallery.msdn.microsoft.com/9ec27da7-e24b-4d56-8064-fd7e88ac1c40) for bundling & minifying script and style files. It should be installed in your Visual Studio. bundleconfig.json file defines all bundling configuration.

    ASP.NET Zero also uses Web Compiler Visual Studio extension(https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebCompiler) for compiling LESS files to CSS files. This extension also should be installed in your Visual Studio. compilerconfig.json defines all compiling configuration.

    See documentation of these extensions to learn to use them.