visual-studio-2012xsdschemavisual-studio-extensionscontract-first

How to install Contract-First Tool in VisualStudio 2012


I have VisualStudio 2012 and I'm trying to follow the following tutorial http://msdn.microsoft.com/en-us/library/hh674270.aspx

But I couldn't find the option Schema Definition from the WCF pane of the Templates dialog.

Do I have to install something? What would that be? An extension, perhaps?

Thanks in advance.


Solution

  • You don't need to install it - it's already there. What might be catching you out is that it's only available in the "WCF Service Library" template.

    VS 2012 correct WCF project

    Once you then add a schema file as shown: Adding an XML schema

    You then get an additional option on the project properties:

    enter image description here