[英]Solution not getting built in team explorer when I add project outside the solution folder
I added a project that is outside the solution folder in the TFS. 我在TFS中的解决方案文件夹之外添加了一个项目。
Its getting built locally and publishing successfully, but when I build it through the team explorer the newly added project which is outside the solution folder is not getting built 它是在本地构建并成功发布的,但是当我通过团队资源管理器构建它时,解决方案文件夹之外的新添加的项目并未构建
GlobalSection(TeamFoundationVersionControl) = preSolution
SccNumberOfProjects = 3
SccEnterpriseProvider = {K4J2KL-18FA-40KD-95D4-23023fK}
SccTeamFoundationServer = http://ipaddress:8080/tfs/track
SccLocalPath0 = .
SccProjectUniqueName1 = ProjectName\\ProjectName.csproj
SccProjectTopLevelParentUniqueName1 = ProjectName.sln
SccProjectName1 = ProjectName
SccLocalPath1 = ProjectName
SccProjectUniqueName2 = ..\\..\\ProjectName.BusinessEntities\\ProjectName.BusinessEntities.csproj
SccProjectTopLevelParentUniqueName2 = ProjectName.sln
SccProjectName2 = ../../ProjectName.BusinessEntities
SccLocalPath2 = ..\\..\\ProjectName.BusinessEntities
EndGlobalSection
Here when i build the project in team explorer, it says that the ProjectName.BusinessEntities.csproj
is not found. 在这里,当我在团队资源管理器中构建项目时,它说未找到ProjectName.BusinessEntities.csproj
。 This class library is two folders above the folder containing the solution in TFS. 该类库位于包含TFS中解决方案的文件夹上方的两个文件夹中。
Your workspace mapping for the build definition must include the new project. 构建定义的工作空间映射必须包括新项目。 The build is telling you the truth - it can't find the .csproj file because only those files in the workspace mappings will be fetched - and that doesn't include your new project. 该版本告诉您真相-它找不到.csproj文件,因为仅会提取工作区映射中的那些文件-并且不包括您的新项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.