Hello All,
Thanks in advance for your assistance with what is inevitably a user/installation issue.
I have a Silverlight 4 application that uses the ESRI.ArcGIS assemblies. It runs as intended in my development environment, but not in my colleague's, and not on the development server. I have a feeling it could be because the codebase on my machine is using a different version of the assemblies, but I have done everything I can think of to ensure they are the same. The reason I suspect version difference is because the error message I get on the dev server is:
Method not found: 'ESRI.ArcGIS.Client.FeatureLayerInfo ESRI.ArcGIS.Client.FeatureLayer.get_LayerInfo()'.
To me, it seems like Visual Studio would never allow compilation if this method were missing and in fact shows no error on the only line referencing FeatureLayerInfo:
For Each fName As String In (From f In CType(l, FeatureLayer).LayerInfo.Fields Select f.Name).ToList()
lOutFields.Add(fName)
Next
Object Browser says that the FeatureLayerInfo resides in the ESRI.ArcGIS.Client assembly which, as referenced in my project (and on my colleague's project, AND the dev server), is 2.0.0.290.
It feels like a wild goose chase. Any ideas what I am overlooking here?
Thanks,