Apr 06

While migrating a simple project from Silverlight 3.0 to 4.0 RC, I’ve noticed that the my project no longer compiles. I’ve started getting errors which said that something like “Array does not have an Add method”. After looking at the proxy that was generated by the add reference dialog, I’ve noticed that the ObservableCollection option is no longer available on the Service Reference Dialog (as you can see from the following image):


The good news is that this is a bug in the RC version and it should be fixed in the final release. Thank god for that!

3 comments so far

  1. Nuno Godinho
    9:45 am - 4-6-2010

    Yes this was an issue. You can use the slsvcutil with the /ct option like this: slsvcutil /edb /namespace:”*,SilverlightApplication1.ServiceReference1″ /ct:System.Collections.ObjectModel.ObservableCollection1

    But yes this will be solved in the RTW release.

  2. 9
    1:06 pm - 7-21-2010


  3. uiy
    1:06 pm - 7-21-2010