How to add WCF templates to Visual Studio Express?

I am working through the book Learning WCF by Michele Bustamante, and trying to do it using Visual Studio C# Express 2008. The instructions say to use WCF project and item templates, which are not included with VS C# Express. There are templates for these types included with Visual Studio Web Developer Express, and I've tried to copy them over into the right directories for VS C# Express to find, but the IDE doesn't find them. Is there some registration process? Or config file somewhere?

Answers


If you have both Visual Web Developer (VWD) 2008 and Visual C# (VC#) 2008 installed you can copy templates between them. The VWD template files live in (by default):

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress

The VC# templates live in:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VCSExpress

Simply copy the templates between the two directories, they might not match exactly but they should be close enough to make sense, for instance I copied the project templates from VC# into VWD by copying files from:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VCSExpress\ProjectTemplates\1033

into:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress\ProjectTemplates\CSharp\Windows\1033

The templates won't appear straight away in the template browser. For VWD you need to run:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress.exe /installvstemplates

For VC# you run:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VCSExpress.exe /installvstemplates

Need Your Help

Transferring radio button value into a session variable

php session radio-button

I am creating several forms all submitted via POST in PHP and stored in sessions. However I cannot get the radio button to store a value into the session. I am trying to store the radio button's va...

Java, count number of Sundays that fell on 1st of the month from 1901 to 2000

java arrays loops

I am new to Programming, and to Java, and I'm trying to teach myself by working through the Project Euler website. I am trying to complete this problem: http://projecteuler.net/problem=19, which is...