Ranorex Version 5.0.3.18203
.Net Runtime Version 4.0.30319.18444
Windows 7 Professional

Right click on project and select add new item
Select C# folder
Select Windows Applications
Select Form from templates
Click Create
Close the new form1.cs (as the tabs are missing for source, history and design)
Double click on form1.cs to reopen
Click on Design
Drag a label onto the form (Select View and then Tools if you do not have them up)
Drag a textbox on the form
Click Build.

You get the following error:
ICSharpCode.FormsDesigner.FormsDesignerLoadException: ICSharpCode.FormsDesigner.FormsDesignerLoadException: Syntax errors in

In the code it is placing the declarations for the textbox1 and label1 in the middle of the initialize component instead of at the beginning of the class. You can see in the code below.