Hi out of nowhere, i am getting this error, when i am building my c-sharp solution with sonarqube. Without sonarqube , the solution builds without errors in visual-studio.
D:\Jenkins\workspace\second- project\.sonarqube\bin\targets\SonarQube.Integration.targets(201,5): error MSB4018: The "IsTestFileByName" task failed unexpectedly. [D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj]
D:\Jenkins\workspace\second-project\.sonarqube\bin\targets\SonarQube.Integration.targets(201,5): error MSB4018: System.IO.FileNotFoundException: D:\Jenkins\workspace\second-project\3rdparty\sonarqube\msbuild\SonarQube.Analysis.xml [D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj]
D:\Jenkins\workspace\second-project\.sonarqube\bin\targets\SonarQube.Integration.targets(201,5): error MSB4018: at SonarScanner.MSBuild.Common.Serializer.LoadModel[T](String fileName) [D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj]
D:\Jenkins\workspace\second-project\.sonarqube\bin\targets\SonarQube.Integration.targets(201,5): error MSB4018: at SonarScanner.MSBuild.Common.AnalysisProperties.Load(String fileName) [D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj]
D:\Jenkins\workspace\second-project\.sonarqube\bin\targets\SonarQube.Integration.targets(201,5): error MSB4018: at SonarScanner.MSBuild.Common.ConfigSettingsExtensions.GetAnalysisSettings(AnalysisConfig config, Boolean includeServerSettings) [D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj]
D:\Jenkins\workspace\second-project\.sonarqube\bin\targets\SonarQube.Integration.targets(201,5): error MSB4018: at SonarScanner.MSBuild.Tasks.IsTestFileByName.TryGetRegularExpression(AnalysisConfig config) [D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj]
D:\Jenkins\workspace\second-project\.sonarqube\bin\targets\SonarQube.Integration.targets(201,5): error MSB4018: at SonarScanner.MSBuild.Tasks.IsTestFileByName.Execute() [D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj]
D:\Jenkins\workspace\second-project\.sonarqube\bin\targets\SonarQube.Integration.targets(201,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj]
D:\Jenkins\workspace\second-project\.sonarqube\bin\targets\SonarQube.Integration.targets(201,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() [D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj]
Done Building Project "D:\Jenkins\workspace\second-project\source\Logger\Logger.csproj" (default targets) -- FAILED.
please help.