LA.NET [EN]

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):

servicereferencedialog

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 http://example.com/service.svc?wsdl /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

    9

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

    yuiyuiyu

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>