Does anybody have advice on moving a master page from one solution / application to another?
I have copied a master page from an existing solution to a new one.
The original solution builds and runs fine.
In the new solution the page causes build errors
These are primarily 'variable' not declared.
I have commented out all of the server code for the page, excepting for 2 very simple statements.
statement 1 references a control that is in the original page markup
pgLoginView.EnableViewState = True
Statement 2 references a control that was newly added for test purposes
lblFrogs.Text = "sdfgsd"
It is as though the compiler is unaware of the class members that should be generated from the markup. I have checked the markup files 'Inherits' attribute is set correctly. When I invoke intellisense in the code editor, both objects (lblFrogs and pgLoginView) are listed and in turn list their properties and methods correctly after pressing '.'
Any help or ideas relating to this problem will be greatly appreciated. I am at my wit's end - it was a short journey.