Pages.g.vb file is automatically generated code file according to the added elements in the tests. The error the you're facing can be caused by coping tests that are using elements from tests that are not in the new project. Take a look carefully what elements do you use in the copied tests. This will help you to solve your issue.
If you continue to have difficulty, please send us a copy of your test project for analysis. Place the project folder into a .zip file and attach that. We don't need access to your application. We'll only diagnose the compile problem.
the Telerik team