它应该如何看(并且看起来在一台机器上):
然后,当移动到另一台计算机时,结果就是这样。好像布局和CSS没有渲染,但是在使用断点进行渲染时似乎会渲染:
两台PC都使用.NET Framework 4.5.2运行Visual Studio 2017,两者的文件完全相同。我应该寻求解决这个问题的任何想法,这都是小事。
答案 0 :(得分:0)
当我遇到此问题时,IIS出现问题...在第二台计算机上,打开Windows功能并确保选中以下选项:
更正:允许IIS提供静态内容是一个问题。 我不应该欺负IIS而且不必要地责备它。