Issues targetting .NET 4.0/4.0 Client profile

2 posts, 0 answers
  1. Jason
    Jason avatar
    3 posts
    Member since:
    Apr 2014

    Posted 15 Apr 2014 Link to this post

    Hi There,

    Telerik version 2013.2.611.45
    runtime version v4.0.30319

    We have a WPF application that is built targeting .net 4.5. Windows server 2003/Windows XP only supports .net runtimes up to version 4, so when I change the target framework to either .net 4.0 or .net 4.0 client profile we get the following error for a bunch of telerik WPF controls.

    Error    165    The tag '<TAG>' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'. Line 2 Position 5.   

    where <TAG> is either RadExpander/RadOutlookBar/RadWindow/RadRichTextBoxRibbonUi which are the controls we are utilizing.

    and also :

    Error    171    The tag 'RadWindow' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation'.


    The website says that .net 4.0 is the minimum requirement for Telerik WPF controls, so we are wondering how we go about getting our application to compile when targetting 4.0 / 4.0 client profile. Maybe another installation package built against 4.0 is available?

    Any help appreciated.
    Thank You,
    J
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 16 Apr 2014 Link to this post

    Hello Jason,

    Yes, we're providing our assemblies built against .NET4.0 as well, their corresponding version is 2013.2.611.40.  If you've installed the RadControls for WPF,  you can go to the installation folder ( C:/Program Files/Telerik/) and inside Binaries folder there are WPF40 and WPF45 containing the dlls built against the corresponding framework . Even if you downloaded the assemblies as a ZIP file, the same structure is used.  You will need to remove the current references in your solution and add them again, but this time from the WPF40 folder. Then clean and rebuild the solution.

    I hope this helps.

    Regards,
    Yana
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top