I am using .net core to try to map less file to css,but it always remind me 404 error. my project wasn't use IIS to startup. I tried to install nuget dotless plugin but I can not find bundles.cs in asp.net core project.
Asked
Active
Viewed 1,049 times
2
-
Did anyone figure out how to solve this ? – Umar Aftab Jul 13 '19 at 21:49
1 Answers
1
LESS files need to be compiled into CSS as part of the build process. This is possible now in Visual Studio, though it requires some setting up. See here: https://learn.microsoft.com/en-us/aspnet/core/client-side/less-sass-fa

Kyle McClellan
- 664
- 7
- 23
-
-
Seems like this process is no longer supported. This answer has some updated info: https://stackoverflow.com/questions/42726029/how-to-compile-less-sass-files-in-visual-studio-2017 – Kyle McClellan Mar 13 '20 at 18:31