-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate ProjectGuid Warning with Sonar MSbuild runner. #60
Comments
Please check this ticket on SonarSource bugtracker - there's an explanation of this message |
Unfortunately, it's miss. I'm understand abount GUIDs in sln. But we have deferent trouble here. |
Then you should filter out this path. There's |
Hmm, may will you filter it out programmaticaly? Because i mean it's wrong plugin behavior. It reacts to teamcity service file. |
What do you mean by teamcity service file? Does everything work when running the same procedure is run from commandline? |
I guess *.csproj.teamcity files creates by teamcity wrapper for short time and it is outside the users scope. The file has a correlated to real project name. In my case the bug happens for one small project only. Can do we investigate this? But I know about the files nothing. |
I will ask my colleges who are responsible for .Net support in TeamCity about these files. If possible I will add some filtering by default. Meanwhile you can try to add some manual exclusion to check workaround. |
Upd: But have one more trouble.
It's one and the same file indeed. |
Which parameter caused this? |
We have the template containing msbuild runner step. Step parameter "Build file path:" is defined as a %configuration parameter% for users. |
This seems to be 2 bugs - one in TC MSBuild Runner generating somewhere a project reference in different casing and SonarQube MSBuild Scanner bug not filtering same paths on Windows. I need some time to investigate this. |
Hi. I have thouble with runner hook.
Plugin catch teamcity temporary file *.csproj.teamcity
[Step 12/12] WARNING: Duplicate ProjectGuid: "f8cc0961-f946-467c-a3d0-2251ab2852dc". The project will not be analyzed by SonarQube. Project file: "C:\TeamCity\buildAgent\work\a768aae0f58b116\repo\testconsole\TestConsole.csproj.teamcity" [14:07:11][Step 12/12] WARNING: Duplicate ProjectGuid: "f8cc0961-f946-467c-a3d0-2251ab2852dc". The project will not be analyzed by SonarQube. Project file: "C:\TeamCity\buildAgent\work\a768aae0f58b116\repo\TestConsole\TestConsole.csproj"
What's wrong? How can do I avoid this?
Teamcity ver: Professional 2018.2.3 (build 61544)
SonarQube plugin ver: P2017.1-22
The text was updated successfully, but these errors were encountered: