The errors look like this and are only for the 'RadGridView' & 'RadComboBox'
- Error 9 The type or namespace name 'RadGridView' could not be found (are you missing a using directive or an assembly reference?) C:\tfs\SubStationAccess\NU.SubStationAccess\obj\Release\Views\CurrentView.g.i.cs 58 18 NU.SubStationAccess.Client
- Error 9 The type or namespace name 'RadComboBox' could not be found (are you missing a using directive or an assembly reference?) C:\tfs\SubStationAccess\NU.SubStationAccess\obj\Debug\Views\UpdateView.g.i.cs 52 18 NU.SubStationAccess.Client
I have the following references with copy local set to true.
- Telerik.Windows.Controls
- Telerik.Windows.Controls.Charting
- Telerik.Windows.Controls.Data
- Telerik.Windows.Controls.GridView
- Telerik.Windows.Controls.Input
- Telerik.Windows.Data
12 Answers, 1 is accepted
Changed teh build output to diagnostic and found this. Ran the upgrade wizard on the SL project to double check and got the same result.
warning : Client proxy generation for service 'NU.SubStationAccess.Web.Services.SubStationAccess' failed: Microsoft (R) Silverlight Service Model Proxy Generation Tool
warning : [Microsoft (R) Silverlight SDK, Version 4.0.50826.0]
warning : Copyright (c) Microsoft Corporation. All rights reserved.
warning : Error: Cannot load reference assembly
'C:\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2010 SP1\Binaries\Silverlight\Telerik.Windows.Controls.Data.dll'
warning : Cannot load file C:\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2010 SP1\Binaries\Silverlight\Telerik.Windows.Controls.Data.dll as an Assembly. Check the FusionLogs for more Information.
warning : Could not load file or assembly 'file:///C:\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2010 SP1\Binaries\Silverlight\Telerik.Windows.Controls.Data.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
warning : An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed i
n previous versions of the .NET Framework. This release of the .NET Framew...
You will need to "unblock" the assembly files in order to resolve the problematic behavior -- you can find more information here.
Hope this helps.
All the best,
Freddie
the Telerik team
I got this problem when moving the project from one location on my disk to another when checking the project in to TFS (also the references
had to be pointed out again since the telerik dll files where at another location). I think you will only get problem this if you
dont use the GAC installed version.
ALSO,. thanks Ryan for that hack, saved me some crazy hours :)
//andreas
change project target to Silverlight 3 and back to Silverlight 4.
*.g.i.cs files regenerated with full namespace path for used classes.
I was able to do a clean and then Rebuild the solution as well. It seemed to do the trick.