Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom tool warning : unable to load one of the requested types

I get a warning trying to add a Cloud Service Reference from another project running and to use it on a windows phone 7 project to communicate with.

I get a warning:

Custom tool warning: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

This warning comes from the file Reference.svcmap

I tried to reload the Service Reference as I found on some other website but still doesn't work and I'm getting that warning again.

Thanks

like image 848
404Dreamer_ML Avatar asked Feb 24 '11 15:02

404Dreamer_ML


1 Answers

I managed to get rid of warnings like this by adding a Web Service, not as a Service Reference, but as a Web Reference.

Steps on how to do this:

  1. Right-click on the project and choose Add Service Reference.
  2. In the Add Service reference dialog, press the Advanced button.
  3. In the Service Reference Settings dialog, press the Add Web Reference.
  4. In the Add Web Reference dialog, the URL of the Web Service can be specified.
like image 73
HenrikW Avatar answered Oct 15 '22 22:10

HenrikW