CodeDom does not exist in the type...
CodeDom does not exist in the type...
I created some tests and didn't build while creating them. I finished the creation and tried to build them but now every recording says The type name 'CodeDom' does not exist... (CS0426). I never experienced this before. Any thoughts on this?
Re: CodeDom does not exist in the type...
The problem was solved by the Ranorex Support. I had a recording called 'System' which caused problems with the original System class
I’ve analyzed your solution and found the problem regarding the CS0426 error. You have created a Recording named “System”. Since every recording is also a C# class, the compiler is looking for the CodeDom namespace within your recording file.
Please rename the Recording to avoid such behaviors. After renaming the recording, please also check that the Program.cs file contains the following line of code
Keyboard.AbortKey = System.Windows.Forms.Keys.Pause;