Dofactory.com
Dofactory.com
 Back to list
Views:   8.3K
Replies:  1
Archived

WPF - Update Service Reference

When I update the service reference without making any changes to Patterns in Action 4.0_1, it produces 3 error messages (all the same) on Mapper.cs of the WPF Model project.

Error 1 Cannot implicitly convert type 'double' to 'float'. An explicit conversion exists (are you missing a cast?) \WPFModel\DataTransferObjectMapper\Mapper.cs

this occurs on:

order.Freight
orderDetail.Discount
orderDetail.UnitPrice

I am running VS 2010 SP1.  Just curious on how to work around this.  If I don't update the service reference, then it will build and run without errors.

Why would just updating the service reference break the application?
Ereck Johan, Jul 26, 2012
Reply 1
Hi, Ereck.

Sounds like the service's interface has changed?

Mike
Michael Lopez, Aug 04, 2012
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.