Esri / arcgis-toolkit-sl-wpf

Toolkit for the ArcGIS Runtime SDK for WPF and ArcGIS API for Silverlight
Microsoft Public License
23 stars 29 forks source link

Geometry, FeatureService reference not found. #11

Closed meghan452 closed 5 years ago

meghan452 commented 5 years ago

CS0234 The type or namespace name 'Geometry' does not exist in the namespace 'ESRI.ArcGIS.Client' (are you missing an assembly reference?) ESRI.ArcGIS.Client.Toolkit.DataSources D:\arcgis-toolkit-sl-wpf-master\src\CommonAPI\API\ESRI.ArcGIS.Client.Toolkit.DataSources\Wmts\Wmts.cs 15 Active

I downloaded arcgis-toolkit-sl-wpf-master.zip and opened solution file in Visual Studio. I got above error building api.

Can someone help me with this?

image

Screenshot attached.

Meghan Kulkarni

mbranscomb commented 5 years ago

ArcGIS API for Silverlight and ArcGIS Runtime SDK for WPF were retired on July 1, 2016.

We recommend you explore WPF solutions based on the ArcGIS Runtime SDK for .NET.

We recommend you explore Web solutions based on the ArcGIS API for JavaScript.

meghan452 commented 5 years ago

I've seen that. We're working on getting out platform upgraded. However, at this moment is there any way to fix the above error? I just want to compile API and receive dll?

Thanks. Meghan Kulkarni

mbranscomb commented 5 years ago

@meghan452

It looks like the Solution is failing to restore the NuGet package `ESRI.ArcGIS.Client'. Because this product is retired, it has been unlisted on NuGet.org, but a project/solution Restore should still be able to reach and restore the package.

Does your Visual Studio installation have a NuGet.org package source? (see https://docs.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio for more info)

meghan452 commented 5 years ago

@mbranscomb I appreciate prompt response. I was missing it. I got in installed. I get below error now

image

CS1061 'Editor' does not contain a definition for 'SnapDistanceSymbol' and no extension method 'SnapDistanceSymbol' accepting a first argument of type 'Editor' could be found (are you missing a using directive or an assembly reference?) ESRI.ArcGIS.Client.Toolkit D:\arcgis-toolkit-sl-wpf-master\src\CommonAPI\API\ESRI.ArcGIS.Client.Toolkit\Editor\EditorWidget.cs 50 Active

meghan452 commented 5 years ago

image

meghan452 commented 5 years ago

@mbranscomb nvm. I was missing ESRI SDK's for Silverlight. I got it resolved.

Thanks.