Code generation for property 'MapItemsShape' failed.

I just recently got into the Syncfusion components and I seem to be having an issue.

When I add the "Maps" control to one of my forms I seem to be getting and error:
Code generation for property 'MapItemsShape' failed. Error was: Type 'Syncfusion.Windows.Forms.Maps.MapItemsShapes' is not available in the target framework.'

My form is completely empty, the "Maps" component is the first component I add to the form.
I also attached my form generated code as well.
Does anyone know how I can fix this ?

Attachment: frmMap.Designer_221c5f4f.zip


3 Replies

SG Sri Gayathri Gopalakrishnan Syncfusion Team November 23, 2017 12:34 PM UTC

Hi Janku,

Thanks for using Syncfusion Products,

Query:Code generation for property 'MapItemsShape' failed

We have analysed your code snippet and we were unable to reproduce the reported issue at our end. We have prepared simple sample based on your query.Please download the sample from the below link,

http://www.syncfusion.com/downloads/support/directtrac/general/ze/MapsSample312978249

Screenshot:
 
  
 

Since we are not aware of the exact scenario issue reproduced,we would like to know the following details,

-Modify the exisiting sample to replicate your scenario
-Or provide your sample with replication procedure
-Provide your Product Version for Maps

Note:We have used 15.4.0.17 dll for Maps.

Regards,
Sri Gayathri.G 



JA Janku November 24, 2017 06:19 AM UTC

Good Day Sri,

I have downloaded your sample, it compiles correctly, however, in design view I receive the following error:



I can therfore not interact with the design of the form anymore.
I am also using 15.4.0.17

Kind Regards



SG Sri Gayathri Gopalakrishnan Syncfusion Team November 27, 2017 12:30 PM UTC

Hi Janku,

Sorry for the inconvenience,

Query: Code generation for property 'MapItemsShape' failed

We could reproduce the issue and we have modified sample, please download the sample from the below link,

http://www.syncfusion.com/downloads/support/directtrac/general/ze/MapsSample1927279917

Please let us know whether the given sample resolves your issue.

Regards,
Sri Gayathri. G

Loader.
Up arrow icon