A System.Web.WebPages.Razor.Configuration.HostSection cannot be cast to B System.Web.WebPages.Razor.Configuration.HostSection. .NET VS

Jump to: navigation, search

[A]System.Web.WebPages.Razor.Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration.HostSection. This problem may occur when copying a web project from one solution into the Area of Web Project in another Solution. It is caused by not deleting the Web.config copied into the Area. Use the config file already present in the Solution. You may need to click show hidden files in Solution Explorer to see this file in your Area

See also

Personal tools
Namespaces
Variants
Views
Actions
Navigation