我正在阅读 Michele Bustamante 的《Learning WCF》一书,并尝试使用 Visual Studio C# Express 2008 来完成.说明中说要使用 WCF 项目和项模板,VS C# Express 中不包含这些模板.Visual Studio Web Developer Express 包含这些类型的模板,我尝试将它们复制到正确的目录中,以便 VS C# Express 找到,但 IDE 没有找到它们.有注册流程吗?或者某处的配置文件?
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?
推荐答案如果您同时安装了 Visual Web Developer (VWD) 2008 和 Visual C# (VC#) 2008,则可以在它们之间复制模板.VWD 模板文件位于(默认情况下):
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 FilesMicrosoft Visual Studio 9.0Common7IDEVWDExpressVC# 模板位于:
C:Program FilesMicrosoft Visual Studio 9.0Common7IDEVCSExpress只需复制两个目录之间的模板,它们可能不完全匹配,但它们应该足够接近以有意义,例如我通过从以下位置复制文件将项目模板从 VC# 复制到 VWD:
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 FilesMicrosoft Visual Studio 9.0Common7IDEVCSExpressProjectTemplates1033进入:
C:Program FilesMicrosoft Visual Studio 9.0Common7IDEVWDExpressProjectTemplatesCSharpWindows1033模板不会立即出现在模板浏览器中.对于 VWD,您需要运行:
The templates won't appear straight away in the template browser. For VWD you need to run:
C:Program FilesMicrosoft Visual Studio 9.0Common7IDEVWDExpress.exe /installvstemplates对于 VC#,您运行:
For VC# you run:
C:Program FilesMicrosoft Visual Studio 9.0Common7IDEVCSExpress.exe /installvstemplates更多推荐
如何将 WCF 模板添加到 Visual Studio Express?
发布评论