Geeks With Blogs
blog.davidbarrett.net ///<summary>Just a lot of random technical stuff, really.</summary>

As a followup to my post about serialization funkiness between WCF and Peoplesoft, I wanted to post what svcutil.exe command I used to mimic the built-in behavior of the "Add Service Reference" behavior in Visual Studio 2008.

Contrary to Visual Studio 2005, the Add service reference command in Visual Studio 2008 does not use svcutil.exe, but rather it's own built-in functionality.

Using a comparison reference between the two and my own analysis of the results, I came up with the following command to mimic what the command does in VS 2008 (keep in mind a few of these options, such as the /ct and the /l switches, were specific to my situation):

svcutil *.wsdl *.xsd /l:C# /out:Reference.cs /noconfig /s /ct:System.Collections.Generic.List`1 /ser:Auto /tcv:Version30 /n:*,<NameOfYourNamespaceHere> /edb

I ran this in the folder where the schema files (WSDL, XSD) were located from a VS2008 command line.

If anyone figures out that this is missing any parameters, or any parameters are incorrect, I'd love to hear from you.

Posted on Monday, June 30, 2008 9:22 AM WCF , SOA , Visual Studio | Back to top


Comments on this post: Equivalent svcutil.exe command for VS2008 Add Service Reference

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © David Barrett | Powered by: GeeksWithBlogs.net