关闭

Ext.Net MVC5 异常记录及解决办法(一)

709人阅读 评论(0) 收藏 举报
分类:
f you are getting the error

Attempt by security transparent method ‘WebMatrix.WebData.PreApplicationStartCode.Start()’ to access security critical method ‘System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport(System.String)’ failed.

In order to fix this install this package using NuGet package manager.

Install-Package Microsoft.AspNet.WebHelpers

After that , probably you will get another error

Cannot load WebMatrix.Data version 3.0.0.0 assembly

to fix this install this package using NuGet package manager.

Install-Package Microsoft.AspNet.WebPages.Data
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:160943次
    • 积分:2620
    • 等级:
    • 排名:第14443名
    • 原创:78篇
    • 转载:113篇
    • 译文:0篇
    • 评论:18条
    最新评论