1. 程式人生 > >[轉載]未能從程序集“System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”中加載類型“System.Web.WebPages.DisplayModeProvider”

[轉載]未能從程序集“System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”中加載類型“System.Web.WebPages.DisplayModeProvider”

bsp 原來 download asp .html 重新 sof pos system

轉載於http://bkcoding.cn/post_1210.html

使用vs2010開發asp.net mvc程序時,出現 未能從程序集“System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”中加載類型“System.Web.WebPages.DisplayModeProvider”

百度了很久都沒找到解決方法,最終谷歌搜索關鍵字System.Web.WebPages.DisplayModeProvider”看到了答案,原來是因為mvc4版本的問題,有可能是安裝不正確或是不完整導致的,重新下載mvc4安裝包來安裝後即可解決問題

附上MVC4下載地址https://www.microsoft.com/zh-CN/download/details.aspx?id=30683

[轉載]未能從程序集“System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”中加載類型“System.Web.WebPages.DisplayModeProvider”