The get_IsBindingRedirectSupported method has no implementation

So, I'm trying to create an ASP.NET Web site website (Razor v2) in Visual Studio 2012, but when I start the site, I get this error.

Method 'get_IsBindingRedirectSupported' in type 'System.Web.WebPages.Administration.PackageManager.WebProjectSystem' from assembly 'System.Web.WebPages.Administration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. 

After trying to find something useful with my dear friend Google, I find it difficult.

Does anyone know the cause of this error and how to solve it?

+6
source share
2 answers

I started getting this error after updating NuGet.Core.dll from version 1.6.30117.9648 to version 2.11.1.812

The tool (as recommended by Kirschstein ) was to remove the System.Web.WebPages.Administration.dll file from my bin directory

+1
source

When starting the problem, these are the steps I took to fix them.

  • Remove the System.Web.WebPages.Administration link from your projects.
  • Go to this folder in your project: YourProject / YourProject and find the packages of xml configuration files.
  • Open this file and delete the line containing System.Web.WebPages.Administration.
  • Go to the Packages folder in your solution and find the folder named "Microsoft.AspNet.WebPages.Administration" / lib / net 40.
  • Remove System.Web.WebPages.Administration.dll
0
source

Source: https://habr.com/ru/post/925706/


All Articles