This is a migrated thread and some comments may be shown as answers.

Test List execution throws error cs0102

2 Answers 142 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Benjamin
Top achievements
Rank 1
Benjamin asked on 22 Feb 2011, 02:20 PM
hi.

i have a test list that throws 7 compilation errors on execution
all have the same error code. CS0102

i have found 2 other posts that sugests that i need to delete the pages.cs and pages.g.cs file

this solution did not resolve the problem since WebUI recreates the pages.g.cs file everytime i restart the program.

is there any workarround to this issue ?

se attached image for the acual error popup.

/Ben

2 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 22 Feb 2011, 08:42 PM
Hello Benjamin,

The compilation errors you are getting can also be caused by having multiple copies of Pages.g.cs contained within your project. Look for another Pages.g.cs somewhere in your test project, perhaps in a subfolder and delete that as well.

If that doesn't resolve the compilation problems can you put your entire test project into a .zip file and attach it to a forum post for us, or open a support ticket and attach it to the ticket (only you and us in tech support can see data/files in support tickets)? Once we receive it we'll analyze the project to discover what is causing these errors.

Best wishes,
Cody
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Benjamin
Top achievements
Rank 1
answered on 23 Feb 2011, 09:47 AM
Hi Cody

there were only a pages.g.cs file in a subfolder in the backup folder. the error was present even when i removed this file from the project folder.


i have created a support tickit including the project file.
tickit id: 397101

the test list that fails is: "Fcontrol Base List" Containint 6 tests.
the test that generates the error is "project" and it's located in the project structure.
under. "Base Control TEst" -> GenericFilter -> Project


Regards
Ben
Tags
General Discussions
Asked by
Benjamin
Top achievements
Rank 1
Answers by
Cody
Telerik team
Benjamin
Top achievements
Rank 1
Share this question
or