I have a VB Class Library that has a WPF Window in it with a RadGridView on the window. My class library has references to Telerik.Windows.Controls, Telerik.Windows.Controls.Data, Telerik.Windows.Controls.GridView, Telerik.Windows.Controls.Input and Telerik.Windows.Data. When I compile the class library I get the following error in the vb.g file of the WPF Window:
Error 1 Type 'Telerik.Windows.Controls.RadGridView' is not defined. C:\Development\BestpassEM\WPFInfrastructure\obj\Debug\Infrastructure\ResultsWindow.g.vb 58 35 Bestpass.UI.Infrastructure
What could be causing this? The line it is occuring on is below.
Error 1 Type 'Telerik.Windows.Controls.RadGridView' is not defined. C:\Development\BestpassEM\WPFInfrastructure\obj\Debug\Infrastructure\ResultsWindow.g.vb 58 35 Bestpass.UI.Infrastructure
What could be causing this? The line it is occuring on is below.
#ExternalSource("..\..\..\Infrastructure\ResultsWindow.xaml",18)
<System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Performance"
,
"CA1823:AvoidUnusedPrivateFields"
)> _
Friend
WithEvents
datagrid
As
Telerik.Windows.Controls.RadGridView
#End ExternalSource