WPF - error: [xxx] "does not contain a definition for [zzz] and no extension method [zzz] could be found

Viewed 12124

I get an error while compiling:

'SimulatorUi.MainWindow' does not contain a definition for 'UserCtrlSimulator' and no extension method 'UserCtrlSimulator' accepting a first argument of type 'SimulatorUi.MainWindow' could be found (are you missing a using directive or an assembly reference?)

I got this error while compiling a user control and its owning window in the same project.

Why ?

1 Answers
Related