Tuesday, January 29, 2013

ServiceReference problem in VS 2010

This MIGHT be the source of my problem:

NEVER NAME A CLASS THE SAME AS A NAMESPACE--IF YOU'RE GOING TO ADD A SERVICE REFERENCE. 

Recommendation: Always append the string "_Namespace" or "_NS" to the DefaultNamespace in Properties-->Application whenever you create a new VS Project.  This will avoid a particularly NASTY bug (or feature) of VS.

Otherwise VS will create a ServiceReference that WON'T compile.

obsolete (as of 11/14/2013) web-link:
http://www.gmontrone.com/post/NET-Compile-Issues-with-Service-References.aspx

No comments:

Post a Comment