我已经在Visual Studio 2017中创建了一个Web应用程序。我升级到了Visual Studio 2019,现在.less文件似乎没有呈现。
然后我仅使用Visual Studio模板就快速创建了一个标准的Web应用程序,并且可以正确显示。
然后,在我的原始项目中,我添加了一个aspx页面,并从模板项目中复制了代码,但此显示不正确。我花了一天的大部分时间试图解决这个问题,但是没有运气。
我已经附上了网页和DevTools页面的屏幕截图。
非工作页面
工作页面屏幕截图
答案 0 :(得分:0)
我在这里MVC bootstrap navbar not working after running NuGet updates找到答案了
我的Bootstrap版本从4降级为3,因为Visual Studio中4破坏了东西