Select to view content in your preferred language

The tag "SimpleFillSymbol" does not exist in the namespace 'http:...arcgis/runetime/2013'

301
0
12-16-2022 02:55 AM
Luftlober
New Contributor

Hi,

I have a problem that I have been trying to fix for two days.


I get this error: The tag 'SimpleFillSymbol' does not exist in XML namespace 'http://schemas.esri.com/arcgis/runtime/2013'.
It also happens to the "MapView", "Map", "ArcGISTiledLayer", and "OpenStreetMapLayer" that I all include in my UserControl xaml file.

I set the esri tag like this: xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013".
I first thought I had to add an API key, but that does not fix it.

It should be said that it works for my 4.8 project, but the error I am receiving is for .NET 6.0.
I have included ESRI.ArcGISRuntime, and ESRI.ArcGISRuntime.WPF in my project with version 200.0.0.
I have tried running in x86, x64, and ANYCPU and still get the errors.
I have tried putting the Target OS version to 10.0.19041 and 10.0.18362 and neither solve the issue.

I first tried to include the UserControl on .NET 4.8 in my .NET 6.0 WPF GUI, but they seem to be incompatible. That is why I tried to create the UserControl in .NET 6.0 and get the mentioned error.

I would really appreciate some insight on this.
Thanks.

0 Kudos
0 Replies