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

遇到WebMatrix.WebData.PreApplicationStartCode.Start()访问System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport(System.String)失败的问题?请使用NuGet包管理器安装Microsoft.AspNet.WebHelpers和Microsoft.AspNet.WebPages.Data来解决问题。
109

被折叠的 条评论
为什么被折叠?



