Hi,
I am converting an ASP.NET web application from ASP.NET 2.0 to 4.0. Actually from VS2005 to VS2012. Here is what I did:
In VS2012 I created a new empty web project. Then I manually copied all files (aspx, cs, etc) from the VS2005 folder to the new VS2012 project folder. Then in VS2012 I added existing items (all project file).
When I execute (browse) a page I get the following error:
Could not load type 'MyAspxPageName.MyUserControl'.
%@ Control Language="c#" AutoEventWireup="True" Codebehind="MyUserControl.ascx.cs"
Inherits="MyAspxPageName.MyUserControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%
Source File: /MyUserControl.ascx Line: 1
Has anything changed in the way a user control is "wired" to the aspx page in VS2012? Or do you see or suggest anything I need to change?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham