如何WCF模板添加到Visual Studio Express吗?

编程入门 行业动态 更新时间:2024-10-27 12:39:09
本文介绍了如何WCF模板添加到Visual Studio Express吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我通过本书的学习WCF由米歇尔·布斯塔曼特工作,并试图使用Visual Studio C#2008年快递的说明说使用WCF项目和项目模板,这不包括在VS C#Express来做到这一点。有是的这些类型的模板随Visual Studio Web Developer速成,我一直试图在他们复制到正确的目录为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 Files\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress

VC#模板住在:

The VC# templates live in:

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

简单的模板复制两个目录之间,他们可能不完全匹配,但他们应该是接近意义,比如我复制从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 Files\Microsoft Visual Studio 9.0\Common7\IDE\VCSExpress\ProjectTemplates\1033

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

模板不会出现在模板浏览器中,立竿见影。对于VWD你需要运行:

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

有关VC#运行: $ \Program Files\Microsoft的Visual Studio 9.0\Common7\IDE\VCSExpress.exe / installvstemplates

For VC# you run:

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

更多推荐

如何WCF模板添加到Visual Studio Express吗?

本文发布于:2023-11-15 11:22:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1593985.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:模板   WCF   Visual   Express   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!