Cannot create instance of type 'Telerik.UI.Drawing.D2DShapeStyle'

7 posts, 1 answers
  1. Ali
    Ali avatar
    6 posts
    Member since:
    Dec 2012

    Posted 16 Aug 2015 Link to this post

     When trying to create a RadMap object in XAML I receive the following exception:

     Cannot create instance of type 'Telerik.UI.Drawing.D2DShapeStyle'

     I have double checked all my references and they are all the same as the sample map app. I am building x86.

  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 19 Aug 2015 Link to this post

    Hi Ali,

    Please try installing and using our SDKs. 


    Report back if the same error still exists on your side.

    Regards,
    Pavel R. Pavlov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. Ali
    Ali avatar
    6 posts
    Member since:
    Dec 2012

    Posted 19 Aug 2015 in reply to Pavel R. Pavlov Link to this post

    Hi Pavel,

     

    Thanks for the reply.

    The problem is when I use the SDK I receive some weird errors. Please check the screen shots.

     

  4. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 24 Aug 2015 Link to this post

    Hi Ali,

    Thank you for clarification! It seems that you are using Windows 10. Currently, our suite is not fully compatible with the new programming model (UWP). Our plans is to release version that targets Windows 10 in September.

     We have issued early adopters program where you can subscribe where you can receive bits that targets UWP and this issue is addressed.

    You can receive the bits by sending email to universalwindows@telerik.com


    Regards,
    Pavel
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
     
  5. Ali
    Ali avatar
    6 posts
    Member since:
    Dec 2012

    Posted 25 Aug 2015 in reply to Pavel R. Pavlov Link to this post

    Hi Pavel,

    I am using Windows 10 but my project is a Windows 8.1 application.

    Moreover, I can run the Telerik Map sample easily without any issue but I have problem trying to use it in a new Windows 8.1 app.

     

    Thanks,

    Ali

     

  6. Answer
    Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    138 posts

    Posted 26 Aug 2015 Link to this post

    Hello Ali,

    The reason you're seeing that error is because you are using Q1 2015. We did not introduce support for Windows 10 until Q2 2015.

    Recommended Fix:
    Please update your UI for Windows Universal to the latest version, 2105.2.624 and the duplicate xbf file error will be resolved. You can download the latest version from here.

    Last Resort:
    If you cannot update, then you'll have to directly reference the DLLs instead of the Extension SDK as a workaround. However, this is not recommended when using the Map because it is dependent on the processor architecture. You'll need to reference either the ARM version or the x86 version of the DLL depending on what your current target architecture is. Please read this page in the documentation for instructions on the topic.

    Regards,
    Lance | Tech Support Engineer, Sr.
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  7. Ali
    Ali avatar
    6 posts
    Member since:
    Dec 2012

    Posted 26 Aug 2015 in reply to Lance | Tech Support Engineer, Sr. Link to this post

    Thanks a lot Lance.

     It worked! :)

Back to Top