Configuration 在windows server 2012上配置生成服务器时出错

Configuration 在windows server 2012上配置生成服务器时出错,configuration,tfs,windows-server-2012-r2,Configuration,Tfs,Windows Server 2012 R2,我正在尝试为项目创建生成定义。TFS和生成服务器计算机是相同的 当我使用默认模板(Tfvc Template.12.xaml)创建生成定义时,会出现以下错误: Exception Message: The path '$/Scrumproject/Scrumproject/Scrumproject.sln' could not be converted to a local path. Make sure this path is relative to the 'src' folder on

我正在尝试为项目创建生成定义。TFS和生成服务器计算机是相同的

当我使用默认模板(Tfvc Template.12.xaml)创建生成定义时,会出现以下错误:

Exception Message: The path '$/Scrumproject/Scrumproject/Scrumproject.sln' could not be converted to a local path. Make sure this path is relative to the 'src' folder on the build machine or specify a full server path. (type ArgumentException)
Exception Stack Trace:    at Microsoft.TeamFoundation.Build.Activities.Core.LocalPathProvider.GetLocalPath(String incomingPath)
   at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Exception Message: TF42006: The build service could not get the project file for build definition Newdefinition. Ensure the project file exists and the build service account NT AUTHORITY\NETWORK SERVICE is a member of the Build Services group for the team project. (type InvalidBuildTypeException)
Exception Stack Trace:    at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
使用升级模板时,会出现以下错误:

Exception Message: The path '$/Scrumproject/Scrumproject/Scrumproject.sln' could not be converted to a local path. Make sure this path is relative to the 'src' folder on the build machine or specify a full server path. (type ArgumentException)
Exception Stack Trace:    at Microsoft.TeamFoundation.Build.Activities.Core.LocalPathProvider.GetLocalPath(String incomingPath)
   at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Exception Message: TF42006: The build service could not get the project file for build definition Newdefinition. Ensure the project file exists and the build service account NT AUTHORITY\NETWORK SERVICE is a member of the Build Services group for the team project. (type InvalidBuildTypeException)
Exception Stack Trace:    at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

有人可以帮助正确配置生成服务器吗?

第一个错误可能是由于不正确的映射导致的:是否在生成工作区映射了$/Scrumproject/Scrumproject/文件夹?

第一个错误可能是由于不正确的映射导致的:是否在生成工作区映射了$/Scrumproject/Scrumproject/文件夹?

在哪一时刻获得这些信息错误?正在尝试创建生成定义,或者它们来自排队生成?@GiulioVian它们来自排队生成。我已经成功地创建了构建定义,在哪一时刻会出现这些错误?正在尝试创建生成定义,或者它们来自排队生成?@GiulioVian它们来自排队生成。我已成功创建生成定义资源控制文件夹为-$/Scrumproject/Scrumproject/MVCAPApplication1生成代理文件夹为$(SourceDir)您需要进一步使用类似$/Scrumproject/Scrumproject/的映射,否则生成无法找到.sln文件。源代码管理文件夹为-$/Scrumproject/Scrumproject/MVCapApplication1生成代理文件夹为$(SourceDir)您需要进一步使用$/Scrumproject/Scrumproject/之类的映射,否则构建无法找到.sln文件。