This is a migrated thread and some comments may be shown as answers.

Could not load System.ComponentModel

10 Answers 212 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rogério
Top achievements
Rank 1
Rogério asked on 01 Jun 2009, 08:39 AM
Hello,

I've just upgraded my projects from version Q1 2009 SP1 to SP2! Since I'm starting to use Silverlight 3, I've decided to install version  RadControls_for_Silverlight3_2009_1_529_trial.zip!

After compiling my applications and exception is always thrown when I try to open some (design-mode) usercontol that used RadGrid
:
Could not load file or assembly 'System.ComponentModel, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
   at System.Signature._GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, IntPtr fieldHandle, IntPtr methodHandle, IntPtr declaringTypeHandle)
   at System.Signature.GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandle fieldHandle, RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
   at System.Signature..ctor(RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
   at System.Reflection.RuntimeMethodInfo.get_Signature()
   at System.Reflection.RuntimeMethodInfo.FetchNonReturnParameters()
   at System.Reflection.RuntimeMethodInfo.GetParametersNoCopy()
   at System.Reflection.RuntimePropertyInfo.GetIndexParameters()
   at MS.Internal.Xaml.ReflectionTypeNode.BuildProperties()
   at MS.Internal.Xaml.ReflectionTypeNode.Find(Identifier name, Boolean includeAttachable)
   at MS.Internal.Xaml.ReflectionTypeNode.Find(Identifier name, Boolean includeAttachable)
   at MS.Internal.Xaml.XmlElement.ConvertAttributes(XamlObjectElement objectElement, XamlElement parent, TypeNode typeNode, PrefixScope scope, IParseContext context)
   at MS.Internal.Xaml.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)
   at MS.Internal.Xaml.XmlElement.ConvertChildrenToXaml(XamlElement result, PrefixScope scope, IParseContext context, IMarkupSourceProvider provider, Boolean childrenAsString)
   at MS.Internal.Xaml.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)
   at MS.Internal.Xaml.XmlElement.ConvertChildrenToXaml(XamlElement result, PrefixScope scope, IParseContext context, IMarkupSourceProvider provider, Boolean childrenAsString)
   at MS.Internal.Xaml.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)
   at MS.Internal.Xaml.XmlElement.ConvertChildrenToXaml(XamlElement result, PrefixScope scope, IParseContext context, IMarkupSourceProvider provider, Boolean childrenAsString)
   at MS.Internal.Xaml.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)
   at MS.Internal.Xaml.XmlElement.ConvertChildrenToXaml(XamlElement result, PrefixScope scope, IParseContext context, IMarkupSourceProvider provider, Boolean childrenAsString)
   at MS.Internal.Xaml.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)
   at MS.Internal.Xaml.XmlElement.ConvertChildrenToXaml(XamlElement result, PrefixScope scope, IParseContext context, IMarkupSourceProvider provider, Boolean childrenAsString)
   at MS.Internal.Xaml.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)
   at MS.Internal.Xaml.XmlElement.ConvertChildrenToXaml(XamlElement result, PrefixScope scope, IParseContext context, IMarkupSourceProvider provider, Boolean childrenAsString)
   at MS.Internal.Xaml.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)
   at MS.Internal.DocumentTrees.Markup.XamlSourceDocument.FullParse(Boolean convertToXamlWithErrors)
   at MS.Internal.DocumentTrees.Markup.XamlSourceDocument.ConvertToSkeleton()
   at Microsoft.Windows.Design.Documents.Trees.MarkupDocumentTreeManager.EnableIncrementalUpdates()
   at Microsoft.Windows.Design.Documents.MarkupDocumentManager.BuildSkeleton(IMarkupSourceProvider source)
   at Microsoft.Windows.Design.Documents.MarkupDocumentManager.<>c__DisplayClass4.<Load>b__0()
   at Microsoft.Windows.Design.ServiceManager.PublishProxy`1.PublishService(Type serviceType)
   at Microsoft.Windows.Design.EditingContext.DefaultServiceManager.GetService(Type serviceType)
   at Microsoft.Windows.Design.EditingContext.DefaultServiceManager.Subscribe(Type serviceType, SubscribeServiceCallback callback)
   at Microsoft.Windows.Design.ServiceManager.Subscribe[ServiceType](SubscribeServiceCallback`1 callback)
   at MS.Internal.SelectionTracking.SelectionTracker..ctor(EditingContext context)
   at MS.Internal.Designer.VSDesigner.Load()
   at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load()
   at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view)
   at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
   at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
   at MS.Internal.Host.Isolation.IsolatedDesigner.Load()
   at MS.Internal.Designer.DesignerPane.LoadDesignerView()

Any idea about the resolution for this issue?

Thanks.

Best Regards,
Rogério

10 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Jun 2009, 10:02 AM
Hi Rogério,

Do you have reference to System.ComponentModel assembly in your project?

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rogério
Top achievements
Rank 1
answered on 01 Jun 2009, 10:19 AM
Hi,

No! It should be some assembly dependency!

Regards,
Rogério
0
Accepted
Vlad
Telerik team
answered on 01 Jun 2009, 10:50 AM
Hi Rogério,

Please add reference to System.ComponentModel - RadGridView will need this because of IPagedCollectionView, etc.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rogério
Top achievements
Rank 1
answered on 01 Jun 2009, 01:02 PM
Hi,

It works!

Is there any other Telerik control that needs that assembly reference?

Regards,
Rogério
0
Vlad
Telerik team
answered on 01 Jun 2009, 01:05 PM
Hello Rogério,

Currently only the grid will need this.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Tyree
Top achievements
Rank 2
answered on 24 Jun 2009, 05:36 PM
My project was working fine without this reference until one day it demanded it, but only in Blend, and the application still runs fine. When I add the reference Blend can no longer open the project (it crashes). 622
0
Ken
Top achievements
Rank 1
answered on 27 Jul 2009, 04:54 PM
System.ComponentModel.dll is no longer part of Silverlight 3 - see http://silverlight.net/forums/t/109002.aspx.

Including a reference to System.Windows.Data does not fix the problem, appartently because the Telerik library is compiled against a beta release of Silverlight 3.

Are (trial) dlls available compiled against the release version of Silverlight 3?  RadGridView is completely broken ....

Thanks -
0
Vlad
Telerik team
answered on 28 Jul 2009, 05:21 AM
Hello Ken,

You should the assemblies from our latest internal build. Please check this thread for more info:
http://www.telerik.com/community/forums/silverlight/silverlight3/radcontrols-q2-2009-for-silverlight-3.aspx

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Ken
Top achievements
Rank 1
answered on 28 Jul 2009, 05:38 PM
When I go to the internal build download page, the latest internal build available to me is RadControls_for_Silverlight3_2009_1_612_trial.zip.  According to the other thread you've referred me to, I need build 710 - is that not available to me as a trial user?
0
Hristo
Telerik team
answered on 29 Jul 2009, 09:03 AM
Hi Ken,

All internal builds are available and for trial users. In order to see the newest latest internal build you have to download the last official release for SIlverlight which is 2009 Q2. Then you should be able to see the latest internal build for SL3 which is 2009_2_724.

Please download the Q2 release and let me know how it goes.

Regards,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Rogério
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Rogério
Top achievements
Rank 1
Tyree
Top achievements
Rank 2
Ken
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or