Click here to Skip to main content
13,043,650 members (50,025 online)
Rate this:
Please Sign up or sign in to vote.
I am facing an issue with the Service Agent namespace after I have get latest version of my project today morning. Previously it was working fine and also nobody has changed the service agent name.

IDE: Visual Studio 2010.

Issue: The type or namespace name MyServiceAgent does not exist in the namespace.

I have tried by deleting the agent and recreating it but no luck.

The only time it works is when I uncheck 'Reuse types' option in Configure Service Reference. But if I go ahead with this option then it creates lot of proxies classes and there will no Reusability and also class names need to be appended with namespace to avoid the 'ambigous'/conflict issues due to same types. Finally, the changes have to be done across the modules, which will take lot of time.

Kindly, I am looking forward for best possible solution to resolve this issue.

Thanks all.
Posted 20-May-13 21:50pm
Updated 21-May-13 19:02pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Expert Suggestions:

Try to remove the Dependency reference Dll's. Update the Service again and restore removed dll's.

Good question Hameed.....! keep log questions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 22 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100