Cerixus
asked on
Visual Studio - Pasting code into new project, compile errors
So I created a new project because I want to clean my old one up. I created a new item (contentform for asp masterpage). I pasted all the functions in the codebehind and pasted everything between the <content> tag. Now the compiler says everything is "not declared".
For instance, in the ASPX file, I have:
<asp:Label ID="lblBuzzWords" runat="server" Text="" Font-Size="Small"></asp:La bel>
But in my error list I see "Name 'lblBuzzWords' is not declared."
And a reverse example, in my codebehind I have a function named "doServers", but when I reference it from my aspx file it says it is not declared.
So basically, what am I missing to copy/paste stuff from one project to another?
For instance, in the ASPX file, I have:
<asp:Label ID="lblBuzzWords" runat="server" Text="" Font-Size="Small"></asp:La
But in my error list I see "Name 'lblBuzzWords' is not declared."
And a reverse example, in my codebehind I have a function named "doServers", but when I reference it from my aspx file it says it is not declared.
So basically, what am I missing to copy/paste stuff from one project to another?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER