开发者

Issue with TFS build definition and WCF service in a Web Site "Project"

开发者 https://www.devze.com 2023-04-10 10:11 出处:网络
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

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 relevan开发者_高级运维t to my situation.


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

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

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").

Don't use them for web applications, either.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号