Dear community member.
While I have programmed in C# for a number of years, I must admit that I am new to WPF and Infragistics controls. Recently I came across an unexpected compile time error and I was wondering what might be causing it:
The type or namespace name 'Controls' does not exist in the namespace 'Sandbox.WpfApp' (are you missing an assembly reference?)
Thoughts?
STEPS TO REPRODUCE
- Create a WPF project
- Add a
XamGrid
to MainWindow.xaml - This step is important: name the
XamGrid
<ig:XamGrid x:Name="abc">
- Compile and run the application... everything is ok!
- Create an Infragistics folder within the project
- Add a WPF user control to the Infragistics folder
- Compile the application: the before mentioned error is generated
What is interesting is:
- if you remove
x:Name="abc"
from theXamGrid
=> no compile-time error - if at step #5 you had named the folder "IntragisticsTest" => no compile-time error
ADDITIONAL CONTEXT*
- Infragistics WPF4 controls (version: 12.2.20122.1000)
- Visual Studio 2013