Visual studio 未找到ProjectInfo.xml文件

Visual studio 未找到ProjectInfo.xml文件,visual-studio,sonarqube,sonarqube-5.0,Visual Studio,Sonarqube,Sonarqube 5.0,我正在使用visual studio 2015和tfs构建项目, 我开始构建,但遇到了下面描述的错误 2016-03-17T09:38:15.2135195Z ##[error]No ProjectInfo.xml files were found. Possible causes: 2016-03-17T09:38:15.2135195Z ##[error]1. The project has not been built - the end step was called right aft

我正在使用
visual studio 2015
tfs
构建项目, 我开始构建,但遇到了下面描述的错误

2016-03-17T09:38:15.2135195Z ##[error]No ProjectInfo.xml files were found. Possible causes:
2016-03-17T09:38:15.2135195Z ##[error]1. The project has not been built - the end step was called right after the begin step, without a build step in between
2016-03-17T09:38:15.2135195Z ##[error]2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 12.0 upwards are supported
2016-03-17T09:38:15.2135195Z ##[error]3. The build step has been launched from a different working folder
2016-03-17T09:38:15.2135195Z Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
2016-03-17T09:38:15.2135195Z 15:08:15.15  Creating a summary markdown file...
2016-03-17T09:38:15.2135195Z ##[error]Post-processing failed. Exit code: 1
2016-03-17T09:38:15.2135195Z ##[error]Unexpected exit code received from batch file: 1

有人能帮我吗?

假设您使用的是TFS2015 vNext build,并且您试图在下面添加生成任务以执行SonarQube分析:

·用于MSBuild的SonarQube–开始分析

·用于MSBuild的SonarQube–结束分析


从错误日志中,您需要确保应使用结束分析任务创建在“Visual Studio Build”任务步骤之后执行的步骤。查看Blog获得更多关于如何使用SoundARQUE分析任务的信息。

在这里共享您的构建步骤,并让我们知道您想要实现什么。在构建服务器上安装MSBuy版本什么?我使用VisualStudio 2015和Team Foundation Server 2015,它附加到VisualStudio,,我已经生成了一个.net项目的项目解决方案,并尝试创建一个构建和sonarqube代码分析,为此,我使用tfs 2015,以下是我将遵循的构建步骤1)sonarqube For MSbuild begin分析2)visual studio构建,3)visual studio测试4)sonarqube for MSbuild开始分析5)索引源和公共符号6)发布生成工件…..所有阶段生成都已通过,但我在“完成分析并将结果上载到sonarqube”时出错。您好,cece,我已按您所说的做了一些事情,并且出现了新错误,,,我已经在下面详细描述了它。错误消息指出“由:com.A.vb.XYZ.A.A.A:缺少插件许可证或插件许可证不正确引起”。我猜您想要使用的插件是商业产品,因此如果您想要使用它,您需要购买许可证。有关插件的更多信息,请访问此网站: