Can't add a reference to Esri.FileGDBAPI.dll as it was not built against Silverlight

2694
0
06-21-2012 09:55 PM
Stephen_Bebb
New Contributor
Hi,

We are trying to allow our ESRI Silverlight client application access to both server side map and feature services along with their local file geodatabase feature classess.

However, when we try and bring in the Esri.FileGDBAPI.dll to Visual Studio 2010 we get the following error as a result of its mscorlib check:

Can't add a reference to Esri.FileGDBAPI.dll as it was not built against Silverlight runtime.

Is there a compile Silverlight version of the File Geodatabse API ? or another way around it?

We have tried setting the version of the mscorlib in the IL to .ver 4.0.5.0 but this didn't seem to help get around the compile time issue.

Thanks heaps for helping.
0 Kudos
0 Replies