3

我有一个包含三个项目的解决方案,SonarQube 无法对其进行分析。它是 ac# 项目、一个 BizTalk 项目 (btproj) 和一个测试项目。BizTalk 和测试项目都具有对 c# 项目的项目引用,而测试项目具有对其他两个项目的引用。

当项目开始分析时,BizTalk 项目和 C# 项目都被标记为重复项目,因此被忽略。如果我删除测试项目,只有 C# 项目被标记为重复。

我尝试了不同的构建配置和 CPU 混合,但无法产生任何不同的结果。我们还有其他几个解决方案,它们也有没有给出这些错误的项目参考。

2015-11-27T08:31:31.0581917Z WARNING: Duplicate project GUID: "5d988c42-d59d-411c-82ed-fe708e943424". Check that the project is only being built for a single platform/configuration and that that the project guid is unique. The project will not be analyzed by SonarQube. Project file: D:\agent\_work\46e3aa1b\Integrations\Components\Components.csproj 
2015-11-27T08:31:31.0581917Z WARNING: Duplicate project GUID: "5d988c42-d59d-411c-82ed-fe708e943424". Check that the project is only being built for a single platform/configuration and that that the project guid is unique. The project will not be analyzed by SonarQube. Project file: D:\agent\_work\46e3aa1b\Integrations\Components\Components.csproj
2015-11-27T08:31:31.0581917Z WARNING: Duplicate project GUID: "c7450074-451b-45f0-9059-5349eab6860e". Check that the project is only being built for a single platform/configuration and that that the project guid is unique. The project will not be analyzed by SonarQube. Project file: D:\agent\_work\46e3aa1b\Integrations\Orchestration\Orchestrations.btproj
2015-11-27T08:31:31.0581917Z WARNING: Duplicate project GUID: "c7450074-451b-45f0-9059-5349eab6860e". Check that the project is only being built for a single platform/configuration and that that the project guid is unique. The project will not be analyzed by SonarQube. Project file: D:\agent\_work\46e3aa1b\Integrations\Orchestration\Orchestrations.btproj

我知道 SonarQube 不支持 BizTalk 项目。但是,大多数业务逻辑都放在 c# 类库中,我认为它与此无关。

4

1 回答 1

1

如果您使用 BTDF 进行部署并且您从另一个项目复制配置文件,则会发生这种情况。这将包含与先前部署的项目相同的 GUID。

于 2015-12-09T15:14:24.997 回答