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.
精彩评论