问题与TFS生成一个Web站点&QUOT定义和WCF服务;项目" [英] Issue with TFS build definition and WCF service in a Web Site "Project"

查看:111
本文介绍了问题与TFS生成一个Web站点&QUOT定义和WCF服务;项目"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我试图创建我工作的一个WCF服务TFS生成定义。当我去设置项目,以建立\\项目建设,我不能任意选择。*凸出或.sln文件。该服务的源是不具有.proj或.sln文件中的Visual Studio \\网站已\\ SERVICE_NAME目录下。
我一直在四处寻找对此事并没有什么任何材料似乎是有关我的情况。


I'm trying to create a TFS build definition for a WCF service I'm working on. When I go to set the "Items to Build\Projects to Build," I can't choose any .*proj or .sln file. The source for the service is under the "Visual Studio\WebSites\SERVICE_NAME" directory which does not have a .proj or .sln file.
I've been looking around for any material on the matter and nothing seems to be relevant to my situation.

推荐答案

您已经选择使用一个网站工程。这是一个错误。

You have chosen to use a Web Site "project". That was a mistake.

Web站点都没有项目。因此,他们不具备项目文件和不建。

Web sites are not projects. They therefore do not have project files and do not build.

我强烈建议使用从未网站任何严肃的工作。使用Web应用程序项目,而不是(文件 - >新建项目,然后选择WCF服务应用程序)。

I strongly recommend never using web sites for any serious work. Use a Web Application Project instead (File->New Project and choose "WCF Service Application").

不要使用他们的Web应用程序,无论是。

Don't use them for web applications, either.

这篇关于问题与TFS生成一个Web站点&QUOT定义和WCF服务;项目"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆