VS 2010 - SL4 controls use

3 posts, 1 answers
  1. Griffith Townsend
    Griffith Townsend avatar
    5 posts
    Member since:
    Jan 2010

    Posted 26 Jan 2010 Link to this post

    I'm trying to implement a RadGridView in a VS2010/SL4 assembly and I keep getting an error when Telerik assemblies are added:

    "Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified."

    In looking in the forums, I noticed a comment for the SL3 version of the Telerik assemblies that there is no need to include the System.Windows, Controls, Input, and Data references in the project, as the Telerik assemblies include them. Is this also the case with v4? My base control project has a lot of references to the base SL4 functionality, and I don't want to lose anything in adding the RadGridView. 

    Can you give me an indication of how to adjust the solution so that it compiles without issue? It compiles with no problems once I remove the Telerik references (and the grid view, unfortunately). 

  2. Answer
    Missing user
    Missing user avatar

    Posted 26 Jan 2010 Link to this post

    Hi Griffith Townsend,

    Could you please take a look at the solution that is mentioned in this forum thread. ,
    i.e run gacutil -i on the following two files:

    c:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\system.core.dll
    and
    c:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\system.windows.dll

    It might work for your case as well.

    Hope this helps.

    Greetings,
    Anastasia
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Bronagh
    Bronagh avatar
    1 posts
    Member since:
    Mar 2009

    Posted 16 Sep 2010 Link to this post

    I ran the utility on the System.Windows.dll as well as you two you mentioned and it resolved the issue for me

    thanks
Back to Top