RadControls for silverlight 4 RC

6 posts, 0 answers
  1. Fabiana
    Fabiana avatar
    69 posts
    Member since:
    Oct 2009

    Posted 17 Mar 2010 Link to this post

    Hello!

    I installed RadControls version: RadControls_for_Silverlight_2010_1_0309_TRIAL, and now I get new binaries for silverlight 4 RC, and updated binaries folder, with 00457RadControls_for_Silverlight4_2010_1_0312_Trial dlls

    I did my own theme based on Windows7...but my project not compile more with this RadControls for silverlight 4 RC. See error:



    Error    1    The "ValidateXaml" task failed unexpectedly.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at MS.MarkupCompiler.ValidationPass.ValidateXaml(String fileName, Assembly[] assemblies, Assembly callingAssembly, TaskLoggingHelper log, Boolean shouldThrow)
       at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute(ITask task)
       at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute(ITask task)
       at Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)    MyCustomTheme



    I am sending my project too.

    Thanks!


  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 18 Mar 2010 Link to this post

    Hi Fabiana,

    Could you please, open a new support ticket and send your theme to us, so we will be able to fix it and send it back to you.

    Kind regards,
    Valeri Hristov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Mark McPherson
    Mark McPherson avatar
    5 posts
    Member since:
    Dec 2009

    Posted 18 Mar 2010 Link to this post

    Repost from RadControls for Silverlight CTP

     


    After downloading the RadControls for Silverlight 4 and copying them to the VS Public Assemblies folder I get the following error when I try to complie a VS2010 SL4 program in which I have included the RadGridView Control

    Error 1 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.

    When I remove the RadGridView and delete all references to Telerik assemblies the program will compile successfully.

    The error shown above is repeated for all the xaml files.

    The reference to System.Windows shows a Version of 2.0.5.0 in the property viewer.
    Is it possible that the PublicKeyToken referenced in the above message is not the same as the PublicKeyToken in
    c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll?

    I added the RadGridView to the toolbox and dragged it onto the designer to produce the results outlined above.

    Other Telerik RadControls for SL4 produce the same result.

    Any suggestions on how to solve this would be appreciated.
  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 19 Mar 2010 Link to this post

    Hi Mark,

    Why did you put the Telerik assemblies to the Public Assemblies folder of Visual Studio? This is not needed and I suppose it is the reason for the broken references - Visual Studio somehow is loading the wrong assemblies, most probably because it preferes certain directories over other (Public, Private, other). Generally, the Telerik control assemblies should be in a folder outside Visual Studio and the design assemblies should be in a subfolder of that folder, named design.

    All the best,
    Valeri Hristov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Mark McPherson
    Mark McPherson avatar
    5 posts
    Member since:
    Dec 2009

    Posted 19 Mar 2010 Link to this post

    Valeri,

    I was following information given in one of the Telerik Blog posts about how to add the controls to the toolbox manually. I believe it was from Evan's blog.

    I removed the trail files from the VS Public Assemblies and placed then under a folder outside of VS 2010. RadControls appear to work correctly. I have not done any real testing yet.

    Thanks for the response.

    Mark
  6. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 19 Mar 2010 Link to this post

    Hi Mark,

    If I remember correctly, Evan's blog was about RadControls for WPF, the instructions do not apply for RadControls for Silverlight. I apologize if that was not clearly explained in the blog post.

    Regards,
    Valeri Hristov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top