Could not load type ASP.ViewSwitcher
asp.net, asp.net-webpages, c#, friendly-url
Solution
change
<%@ Master Language="C#" AutoEventWireup="true"
CodeBehind="Site.Mobile.master.cs" Inherits="ASP.Site_Mobile" %>
to
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="Site.Mobile.master.cs" Inherits="ASP.Site_Mobile" %>
(Edit) That is the case if you are working on a website as oppose to a web application.
Problem
I added `FriendlyUrls` package via NuGet to my asp.net web pages project. When I debug the solution it returns error that `ASP.ViewSwitcher` in `ViewSwitcher.ascx` could not load. I did not find anything on the internet about this issue. Could anybody please help me, how to fix this?