Skip to content

Commit

Permalink
v5.0 (#886)
Browse files Browse the repository at this point in the history
* Moved from WebClient to HttpClient. (#841)

* Split TFS-specific code in a separate exe (#896)

* Update license headers (#895)

* Detect and take VsTestToolsInstallerInstalledToolLocation environment variable to set CodeCoverage.exe path. (#903)

* Remove/Changed SonarQube-only log messages to be more generic with So… (#898)

* Remove/Changed SonarQube-only log messages to be more generic with SonarCloud.

* Fail fast if sonar.organization is provided in SonarQube.Analysis.xml (#901)

* Changed deprecated projectKey parameters while fetching Quality Profile (#899)

* Added .NET 5 flavor for the Scanner (#884)

* Drop support for single-valued "sonar.cs.roslyn.reportFilePath" and "… (#902)

* Drop support for single-valued "sonar.cs.roslyn.reportFilePath" and "sonar.cs.analyzer.projectOutPath" (and VB.Net siblings)

* Add support for pure .NET Core Projects (#887)

* If a ProjectGuid has not been found in either the csproj or the solution, generate a random one.

* Fail fast in case the server license is invalid. (#907)

* fixed bug - skipped shared across projects files (#876)

* Update documentation (Proxy, .NET Core NET Version, added back conditional blocks for SQ/SC (#905)

* Add a warning and clearer message in case of falling back to SonarOutputDir projectbBaseDir. (#908)

* Add build configuration to TFS build
  • Loading branch information
mickael-caro-sonarsource authored Nov 2, 2020
1 parent 97d190c commit bea280d
Show file tree
Hide file tree
Showing 390 changed files with 4,256 additions and 2,725 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

# Build results

build/

[Dd]ebug/
[Rr]elease/
x64/
Expand Down
2 changes: 1 addition & 1 deletion .sonarlint/SonarLint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<Key>headerFormat</Key>
<Value><![CDATA[/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2019 SonarSource SA
* Copyright (C) 2016-2020 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
8 changes: 4 additions & 4 deletions AssemblyInfo.Shared.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2019 SonarSource SA
* Copyright (C) 2016-2020 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand All @@ -21,9 +21,9 @@
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyVersion("4.10.0")]
[assembly: AssemblyFileVersion("4.10.0.0")]
[assembly: AssemblyInformationalVersion("Version:4.10.0.0 Branch:not-set Sha1:not-set")]
[assembly: AssemblyVersion("5.0.0")]
[assembly: AssemblyFileVersion("5.0.0.0")]
[assembly: AssemblyInformationalVersion("Version:5.0.0.0 Branch:not-set Sha1:not-set")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("SonarSource and Microsoft")]
[assembly: AssemblyCopyright("Copyright © SonarSource and Microsoft 2015-2020")]
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sonar Scanner for MSBuild

[![Build Status](https://sonarsource.visualstudio.com/_apis/public/build/definitions/399fb241-ecc7-4802-8697-dcdd01fbb832/7/badge)](https://sonarsource.visualstudio.com/DotNetTeam%20Project/_build/index?definitionId=7)
[![Build Status](https://sonarsource.visualstudio.com/DotNetTeam%20Project/_apis/build/status/SonarScanner%20for%20MSBuild?branchName=master)](https://sonarsource.visualstudio.com/DotNetTeam%20Project/_build/latest?definitionId=64&branchName=master)
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=sonarscanner-msbuild&metric=alert_status)](https://sonarcloud.io/dashboard?id=sonarscanner-msbuild)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=sonarscanner-msbuild&metric=coverage)](https://sonarcloud.io/component_measures?id=sonarscanner-msbuild&metric=coverage)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#contributing)
Expand All @@ -13,14 +13,17 @@ SonarScanner for MSBuild is distributed as a
* [Azure DevOps extension](https://github.com/SonarSource/sonar-scanner-vsts)
* [Jenkins plugin](https://github.com/SonarSource/sonar-scanner-jenkins)

For more info please look our [documentation page](https://docs.sonarqube.org/x/Lx9q).
For more info please look our documentation page

* [On SonarQube](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
* [On SonarCloud](https://sonarcloud.io/documentation/analysis/scan/sonarscanner-for-msbuild/)

## Contributing

Check out the [contributing](CONTRIBUTING.md) page to see the best places to log issues and start discussions.

## License

Copyright 2016-2019 SonarSource.
Copyright 2016-2020 SonarSource.

Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt)
68 changes: 68 additions & 0 deletions SonarScanner.MSBuild.TFS.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30516.212
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SonarScanner.MSBuild.TFS.Classic", "src\SonarScanner.MSBuild.TFS.Classic\SonarScanner.MSBuild.TFS.Classic.csproj", "{AEFF9994-48E2-4D7A-9C97-641E3DB82411}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SonarScanner.MSBuild.TFS", "src\SonarScanner.MSBuild.TFS\SonarScanner.MSBuild.TFS.csproj", "{CEFBB4AD-D00D-4B55-9B19-88F3B3235966}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SonarScanner.MSBuild.Common", "src\SonarScanner.MSBuild.Common\SonarScanner.MSBuild.Common.csproj", "{3D09B66D-1990-4DA2-A635-0BBB6E2900EC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{F20DAA9F-DCE4-4A7D-828A-6F1641AC9121}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SonarScanner.MSBuild.TFS.Tests", "Tests\SonarScanner.MSBuild.TFS.Tests\SonarScanner.MSBuild.TFS.Tests.csproj", "{D46E5A94-A9DD-4337-ADD7-2D79CB9D640A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestUtilities", "Tests\TestUtilities\TestUtilities.csproj", "{2FA8E679-3BEC-4679-A543-8CADB117C9EB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SonarScanner.MSBuild.Shim", "src\SonarScanner.MSBuild.Shim\SonarScanner.MSBuild.Shim.csproj", "{EC07BB1B-219C-46DF-9079-AD74CA929697}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SonarScanner.MSBuild.Shim.Tests", "Tests\SonarScanner.MSBuild.Shim.Tests\SonarScanner.MSBuild.Shim.Tests.csproj", "{F43FC14B-5249-46F4-9E89-F4AAFDDB27ED}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AEFF9994-48E2-4D7A-9C97-641E3DB82411}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AEFF9994-48E2-4D7A-9C97-641E3DB82411}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AEFF9994-48E2-4D7A-9C97-641E3DB82411}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AEFF9994-48E2-4D7A-9C97-641E3DB82411}.Release|Any CPU.Build.0 = Release|Any CPU
{CEFBB4AD-D00D-4B55-9B19-88F3B3235966}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CEFBB4AD-D00D-4B55-9B19-88F3B3235966}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CEFBB4AD-D00D-4B55-9B19-88F3B3235966}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CEFBB4AD-D00D-4B55-9B19-88F3B3235966}.Release|Any CPU.Build.0 = Release|Any CPU
{3D09B66D-1990-4DA2-A635-0BBB6E2900EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3D09B66D-1990-4DA2-A635-0BBB6E2900EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3D09B66D-1990-4DA2-A635-0BBB6E2900EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3D09B66D-1990-4DA2-A635-0BBB6E2900EC}.Release|Any CPU.Build.0 = Release|Any CPU
{D46E5A94-A9DD-4337-ADD7-2D79CB9D640A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D46E5A94-A9DD-4337-ADD7-2D79CB9D640A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D46E5A94-A9DD-4337-ADD7-2D79CB9D640A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D46E5A94-A9DD-4337-ADD7-2D79CB9D640A}.Release|Any CPU.Build.0 = Release|Any CPU
{2FA8E679-3BEC-4679-A543-8CADB117C9EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2FA8E679-3BEC-4679-A543-8CADB117C9EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2FA8E679-3BEC-4679-A543-8CADB117C9EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2FA8E679-3BEC-4679-A543-8CADB117C9EB}.Release|Any CPU.Build.0 = Release|Any CPU
{EC07BB1B-219C-46DF-9079-AD74CA929697}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EC07BB1B-219C-46DF-9079-AD74CA929697}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EC07BB1B-219C-46DF-9079-AD74CA929697}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EC07BB1B-219C-46DF-9079-AD74CA929697}.Release|Any CPU.Build.0 = Release|Any CPU
{F43FC14B-5249-46F4-9E89-F4AAFDDB27ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F43FC14B-5249-46F4-9E89-F4AAFDDB27ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F43FC14B-5249-46F4-9E89-F4AAFDDB27ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F43FC14B-5249-46F4-9E89-F4AAFDDB27ED}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{D46E5A94-A9DD-4337-ADD7-2D79CB9D640A} = {F20DAA9F-DCE4-4A7D-828A-6F1641AC9121}
{2FA8E679-3BEC-4679-A543-8CADB117C9EB} = {F20DAA9F-DCE4-4A7D-828A-6F1641AC9121}
{F43FC14B-5249-46F4-9E89-F4AAFDDB27ED} = {F20DAA9F-DCE4-4A7D-828A-6F1641AC9121}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4B2B2045-61D8-4873-948A-71A0DDB35757}
EndGlobalSection
EndGlobal
Loading

0 comments on commit bea280d

Please sign in to comment.