简体   繁体   English

Visual Studio 2010 TFS生成错误

[英]Visual Studio 2010 TFS Build Error

I'm setting up VS 2010 Team Foundation Server for a personal project. 我正在为个人项目设置VS 2010 Team Foundation Server。 It is overkill for a single developer but It is a learning experience for me. 对于一个开发人员来说,这太过分了,但对我来说却是一次学习的经历。 I'm having a problem with the build configuration. 我的构建配置有问题。 I set up a controller and agent with the default settings. 我使用默认设置设置了控制器和代理。 However, when I run a build I get the following error: 但是,当我运行构建时,出现以下错误:

The project file 'C:\\Builds...{Solution}.sln' was not found. 找不到项目文件“ C:\\ Builds ... {Solution} .sln”。

I find that the folder is created, but it is empty. 我发现该文件夹已创建,但是它是空的。 Looking for a push in the right direction here. 在这里寻找正确的方向。 Thanks. 谢谢。

Open the Build Definition and make sure that the Workspace tab is filled in correctly. 打开构建定义,并确保正确填写了工作区选项卡。 something like $/FolderWithMySolutionFile -> $(SourceDir) and that it's set to Active, not Cloaked $/FolderWithMySolutionFile -> $(SourceDir) ,它设置为Active,而不是Cloaded

See also: http://msdn.microsoft.com/en-us/library/hh190721.aspx 另请参阅: http : //msdn.microsoft.com/en-us/library/hh190721.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM