Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 494
ClayKaboom Avatar asked Oct 22 '22 19:10

ClayKaboom


1 Answers

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

like image 158
noonand Avatar answered Oct 25 '22 19:10

noonand