This is a migrated thread and some comments may be shown as answers.

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

6 Answers 79 Views
Map
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ali
Top achievements
Rank 1
Ali asked on 17 Aug 2015, 12:27 AM

 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.

6 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 19 Aug 2015, 01:36 PM
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
0
Ali
Top achievements
Rank 1
answered on 20 Aug 2015, 02:21 AM

Hi Pavel,

 

Thanks for the reply.

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

 

0
Pavel R. Pavlov
Telerik team
answered on 24 Aug 2015, 11:04 AM
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
 
0
Ali
Top achievements
Rank 1
answered on 25 Aug 2015, 11:55 PM

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

 

0
Accepted
Lance | Manager Technical Support
Telerik team
answered on 26 Aug 2015, 02:27 PM
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
0
Ali
Top achievements
Rank 1
answered on 27 Aug 2015, 12:58 AM

Thanks a lot Lance.

 It worked! :)

Tags
Map
Asked by
Ali
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Ali
Top achievements
Rank 1
Lance | Manager Technical Support
Telerik team
Share this question
or