.Less文件不呈现

时间:2019-11-28 09:38:39

标签: asp.net visual-studio less

我已经在Visual Studio 2017中创建了一个Web应用程序。我升级到了Visual Studio 2019,现在.less文件似乎没有呈现。

然后我仅使用Visual Studio模板就快速创建了一个标准的Web应用程序,并且可以正确显示。

然后,在我的原始项目中,我添加了一个aspx页面,并从模板项目中复制了代码,但此显示不正确。我花了一天的大部分时间试图解决这个问题,但是没有运气。

我已经附上了网页和DevTools页面的屏幕截图。

非工作页面

enter image description here Dev tools page

工作页面屏幕截图

enter image description here enter image description here

1 个答案:

答案 0 :(得分:0)

我在这里MVC bootstrap navbar not working after running NuGet updates找到答案了

我的Bootstrap版本从4降级为3,因为Visual Studio中4破坏了东西