Closed jitangupta closed 3 years ago
Hello, Jitan!
This is a error at the Microsoft Ajax Minifier library level. Replace the BundleTransformer.MicrosoftAjax module by the BundleTransformer.NUglify module.
If this error still occurs, try to add in the Web.config
file the following setting:
<configuration>
…
<bundleTransformer …>
…
<nuglify>
<css ignoreErrorList="CSS1062" />
…
</nuglify>
…
</bundleTransformer>
…
</configuration>
Thank you for replying @Taritsyn,
I am currently testing the first suggestion. Sure will add the second one also.
Will update once done
Thank you @Taritsyn, It is working as expected.
Getting error when enable optimizations is true.
Similar Issue: https://github.com/trullock/NUglify/pull/46 Error while compiling the :root https://github.com/trullock/NUglify/pull/46/files#diff-1fc1d5d1bf6b24928485c0cf59bcd6f7894809d95f5552b52209ca3b222f1b01
Work-around tried unsuccessfully as this also fails when
BundleTable.EnableOptimizations = true;
Working as expected whenBundleTable.EnableOptimizations = false;
(in development mode)https://stackoverflow.com/a/54088086/8178474
Screen shot: