简体   繁体   English

当我在解决方案文件夹外添加项目时,解决方案未内置在团队资源管理器中

[英]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.

相关问题 在解决方案资源管理器中更改项目文件夹后,命名空间未更新 - Namespace not updating after I alter my project folder in solution explorer 如何将解决方案文件夹文件添加到VS项目模板? - How can I add Solution Folder files to a VS Project Template? 为解决方案文件夹外的项目设置NuGet包文件夹 - Setup NuGet packages folder for project outside solution folder 将解决方案文件夹添加到visual studio项目模板 - Add solution folder to visual studio project template 我应该何时将项目添加到我的解决方案中,而不是将项目的dll添加到我的解决方案中 - When should I add a project to my solution vs. adding the project's dll to my solution 从Solution Explorer中选择的项目 - Selected project from Solution Explorer 如何将文件夹添加到WPF解决方案? - How can I add a folder to a WPF solution? 从 msbuild 构建解决方案时未构建 Visual Studio 项目 - Visual Studio project not being built when I build Solution from msbuild 当我安装Entity Framework时,“项目”没有出现在“添加”列表中(解决方案资源管理器) - When I install Entity Framework, the Items don't appear in the Add list (solution explorer) 当我打开我的项目时,我收到以下消息:“此解决方案处于离线状态。[Team Foundation //https://xxxxxxxxxxxx/tfs/applications” - When I open my project, I get this message: "This solution is offline. [Team Foundation //https://xxxxxxxxxxxx/tfs/applications"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM