Do not copy SASS / LESS file when using Web Publish
问题 When publishing a Web Application (MVC in my case) via File System in Web Publish setting, most of the *.scss & *.less files get deployed as well. How do I configure a Visual Studio project so that it does not deploy these files? 回答1: I believe setting "Build action" to "None" and "Copy to output directory" to "Never" should work. You can do it in property window of the file. Right click the file in solution explorer and click properties 回答2: Visual Studio deploys only those files that are