It is when I add a service reference but VS2010 did not update the app.config file. The file is created, but it only contains:
<?xml version="1.0" encoding="utf-8" ?> <configuration> </configuration>
Yes, you can call it a blank app.config. I have no error in my project, and this is what I do to solve the problem:
- Delete the current (failed) created service reference
- Add a new service reference (no problem if you want to use the same name as previous reference name)
- After you add the address and reference name, click on Advanced…
- Un-check the Reuse types in referenced assemblies
- Done
I don’t know if this will work for you, but I think this worth a try.
Leave a comment