I've used the Nuget to add Dotless to my Azure MVC4 project. It is not working. I've triple-checked it all and it seems to be fine. When I download the less file, this is the contents:
‹ ì½`I–%&/mÊ{JõJ×àt¡€`$Ø@ìÁˆÍæ’ìiG#)«*ÊeVe]f@Ìí¼÷Þ{ï½÷Þ{ï½÷º;N'÷ßÿ?\fdlöÎJÚÉž!€ªÈ?~|?"~—?ö7ø5ðü:¿Æ÷÷ÿúÀïtögüî¿ðîâŸùÅàw~ÅwþÍÿ¨ý‹ƒ?èø-·ëOú=³ÿîþ£þùÿâOùï~çâó¿ó×~ëþgòŸÌ¿þÛüžÿÜÿçÿ}¿ò?øÅÿãß/ÿü=‡þ‹åøÿ¿ïùì×,ÿ×á;ÿÎ?ýü®Ð_óOý.¿Ç/ý™ßå÷øè—þ§ÿÙÞ_ûÇ–¯þ‹ÿú¼þêŸÿ/ÿëÿ×ßðÅû¿÷âW]ÿÍÿÜEñ·?ÿ½þ÷ßý—üY¿Í?ûËÿ¾¿è¯ø]þÃÏþê?cñ”ÿão“ÿâ‡ã_öWüªÿí_®þ¼¿ì¿þ•¿É?ðoýãÍ‹ÿ°zðÿ¦ÿËçï¯þk¯þÈÿãß?ù?—?õ§õþSÿãŸøþ—ÿîgÿàïòKþ·¿ÿßÿÉývå¿øËþ“ÉpôïüÎÿáßûþoÿ÷¯óküÿ÷ÿýçÿ’ã¿éïù5~_ãÿ ÿÿiÓÀû
Unfortunately it appears to not be downloading correctly. Any idea why this might be the case when adding to a Windows Azure project in the Dev environment?
It looks like the response is being gzip compressed twice.
By default dotless handles the gzip/deflate compression, but since you can switch on IIS to do this, you can disable dotless from doing it by adding the handleWebCompression="false"
attribute to the config section node.