Page 1 of 1

The name 'InitializeComponent' does not exist in the current context (CS0103)

Posted: Wed Jun 17, 2020 9:07 am
by shatterstar6457
So, I created an empty project and added a form to it. When I attempt to access the designer, I get this error: 'The name 'InitializeComponent' does not exist in the current context (CS0103)'. Yes the assembly references are there (they're added to the project automatically when you add a form to the project), I don't have slightest clue what I'm doing wrong and why doesn't this work right out the box.

Re: The name 'InitializeComponent' does not exist in the current context (CS0103)

Posted: Thu Jun 18, 2020 8:06 am
by odklizec
Hi,

I'm afraid, it's impossible to tell what's wrong without seeing your solution. Could you please share it (along with detailed steps what exactly you are trying to achieve). Also, what Ranorex version do you use? Please make sure you are using most recent 9.3.2.

I'm curious, why do you want to add "form" to test automation project? ;)