Could not load System.ComponentModel

11 posts, 1 answers
  1. Rogério
    Rogério avatar
    33 posts
    Member since:
    Feb 2009

    Posted 01 Jun 2009 Link to this post

    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

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 01 Jun 2009 Link to this post

    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.
  3. Rogério
    Rogério avatar
    33 posts
    Member since:
    Feb 2009

    Posted 01 Jun 2009 Link to this post

    Hi,

    No! It should be some assembly dependency!

    Regards,
    Rogério
  4. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 01 Jun 2009 Link to this post

    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.
  5. Rogério
    Rogério avatar
    33 posts
    Member since:
    Feb 2009

    Posted 01 Jun 2009 Link to this post

    Hi,

    It works!

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

    Regards,
    Rogério
  6. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 01 Jun 2009 Link to this post

    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.
  7. Tyree
    Tyree avatar
    105 posts
    Member since:
    Dec 2006

    Posted 24 Jun 2009 Link to this post

    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
  8. Ken
    Ken avatar
    8 posts
    Member since:
    Jun 2009

    Posted 27 Jul 2009 Link to this post

    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 -
  9. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 28 Jul 2009 Link to this post

    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.
  10. Ken
    Ken avatar
    8 posts
    Member since:
    Jun 2009

    Posted 28 Jul 2009 Link to this post

    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?
  11. Hristo
    Admin
    Hristo avatar
    408 posts

    Posted 29 Jul 2009 Link to this post

    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.
Back to Top