Initialize component Error

452
1
03-10-2021 05:41 AM
Shanmugapriya55
New Contributor III

Hi All,

I have used the following code to use offline tpk.

https://developers.arcgis.com/net/wpf/sample-code/create-terrain-from-local-tile-package/

Here, It shows the error that InitializeComponent does not exist in the current Context.

The namespace name and class name are match, but still it shows that error. I couldn't find the apt solution.

It would be helpful if anyone has a solution for this.

 

Tags (1)
0 Kudos
1 Reply
dotMorten_esri
Esri Frequent Contributor

Did you include the xaml part? And if you did, what is the build action for the xaml?

0 Kudos