From ee90d47fe5c2dd14616afa678b1d374b0941bc09 Mon Sep 17 00:00:00 2001
From: Georgii Borovinskikh
<117642191+georgii-borovinskikh-sonarsource@users.noreply.github.com>
Date: Wed, 7 Feb 2024 13:33:41 +0100
Subject: [PATCH] Add SLCore.Listeners assembly (#5205)
---
SonarLint.VisualStudio.Integration.sln | 26 +-
src/CFamily.UnitTests/packages.lock.json | 8 +
.../packages.lock.json | 8 +
...egration.Vsix_Baseline_WithStrongNames.txt | 12 +-
...ation.Vsix_Baseline_WithoutStrongNames.txt | 12 +-
src/Integration.Vsix/Integration.Vsix.csproj | 6 +-
.../VS2019/source.extension.vsixmanifest | 1 +
.../VS2022/source.extension.vsixmanifest | 2 +
src/Integration.Vsix/packages.lock.json | 7 +
.../SLCore.Listeners.UnitTests.csproj | 16 +
.../packages.lock.json | 1632 +++++++++++++++++
src/SLCore.Listeners/SLCore.Listeners.csproj | 15 +
src/SLCore.Listeners/packages.lock.json | 1482 +++++++++++++++
13 files changed, 3220 insertions(+), 7 deletions(-)
create mode 100644 src/SLCore.Listeners.UnitTests/SLCore.Listeners.UnitTests.csproj
create mode 100644 src/SLCore.Listeners.UnitTests/packages.lock.json
create mode 100644 src/SLCore.Listeners/SLCore.Listeners.csproj
create mode 100644 src/SLCore.Listeners/packages.lock.json
diff --git a/SonarLint.VisualStudio.Integration.sln b/SonarLint.VisualStudio.Integration.sln
index 4d4efdb998..d8ec0c2b71 100644
--- a/SonarLint.VisualStudio.Integration.sln
+++ b/SonarLint.VisualStudio.Integration.sln
@@ -170,9 +170,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "VsAnalyzerConfig", "VsAnaly
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SLCore", "SLCore", "{236587E8-62A7-4E4E-815D-A50433859DC7}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SLCore", "src\SLCore\SLCore.csproj", "{4A5A716B-54E7-4F85-9340-2CB0827A6253}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SLCore", "src\SLCore\SLCore.csproj", "{4A5A716B-54E7-4F85-9340-2CB0827A6253}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SLCore.UnitTests", "src\SLCore.UnitTests\SLCore.UnitTests.csproj", "{72C861AC-2CAB-46C0-9A9E-06096F589395}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SLCore.UnitTests", "src\SLCore.UnitTests\SLCore.UnitTests.csproj", "{72C861AC-2CAB-46C0-9A9E-06096F589395}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SLCore.Listeners", "src\SLCore.Listeners\SLCore.Listeners.csproj", "{8523D19D-1760-4608-9A4F-3A9353279A16}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SLCore.Listeners.UnitTests", "src\SLCore.Listeners.UnitTests\SLCore.Listeners.UnitTests.csproj", "{23321F44-DE37-4801-96BB-BC8E3CCFC7F1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -518,6 +522,22 @@ Global
{72C861AC-2CAB-46C0-9A9E-06096F589395}.Release|Any CPU.Build.0 = Release|Any CPU
{72C861AC-2CAB-46C0-9A9E-06096F589395}.Release|x86.ActiveCfg = Release|Any CPU
{72C861AC-2CAB-46C0-9A9E-06096F589395}.Release|x86.Build.0 = Release|Any CPU
+ {8523D19D-1760-4608-9A4F-3A9353279A16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8523D19D-1760-4608-9A4F-3A9353279A16}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8523D19D-1760-4608-9A4F-3A9353279A16}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {8523D19D-1760-4608-9A4F-3A9353279A16}.Debug|x86.Build.0 = Debug|Any CPU
+ {8523D19D-1760-4608-9A4F-3A9353279A16}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8523D19D-1760-4608-9A4F-3A9353279A16}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8523D19D-1760-4608-9A4F-3A9353279A16}.Release|x86.ActiveCfg = Release|Any CPU
+ {8523D19D-1760-4608-9A4F-3A9353279A16}.Release|x86.Build.0 = Release|Any CPU
+ {23321F44-DE37-4801-96BB-BC8E3CCFC7F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {23321F44-DE37-4801-96BB-BC8E3CCFC7F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {23321F44-DE37-4801-96BB-BC8E3CCFC7F1}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {23321F44-DE37-4801-96BB-BC8E3CCFC7F1}.Debug|x86.Build.0 = Debug|Any CPU
+ {23321F44-DE37-4801-96BB-BC8E3CCFC7F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {23321F44-DE37-4801-96BB-BC8E3CCFC7F1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {23321F44-DE37-4801-96BB-BC8E3CCFC7F1}.Release|x86.ActiveCfg = Release|Any CPU
+ {23321F44-DE37-4801-96BB-BC8E3CCFC7F1}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -570,6 +590,8 @@ Global
{682C440B-E506-4811-9569-9734D8DF4620} = {A4C88C9A-7C47-47FE-8AB6-8D7588D05EF1}
{4A5A716B-54E7-4F85-9340-2CB0827A6253} = {236587E8-62A7-4E4E-815D-A50433859DC7}
{72C861AC-2CAB-46C0-9A9E-06096F589395} = {236587E8-62A7-4E4E-815D-A50433859DC7}
+ {8523D19D-1760-4608-9A4F-3A9353279A16} = {236587E8-62A7-4E4E-815D-A50433859DC7}
+ {23321F44-DE37-4801-96BB-BC8E3CCFC7F1} = {236587E8-62A7-4E4E-815D-A50433859DC7}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {DABC27C8-E761-4826-AD2D-056F677EF3C0}
diff --git a/src/CFamily.UnitTests/packages.lock.json b/src/CFamily.UnitTests/packages.lock.json
index 1b998d295e..839ce4bec3 100644
--- a/src/CFamily.UnitTests/packages.lock.json
+++ b/src/CFamily.UnitTests/packages.lock.json
@@ -1555,6 +1555,7 @@
"SonarLint.VisualStudio.Roslyn.Suppressions": "[1.0.0, )",
"SonarLint.VisualStudio.Rules": "[1.0.0, )",
"SonarLint.VisualStudio.SLCore": "[1.0.0, )",
+ "SonarLint.VisualStudio.SLCore.Listeners": "[1.0.0, )",
"SonarLint.VisualStudio.TypeScript": "[1.0.0, )",
"SonarQube.Client": "[1.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
@@ -1721,6 +1722,13 @@
"StreamJsonRpc": "[2.5.46, )"
}
},
+ "SonarLint.VisualStudio.SLCore.Listeners": {
+ "type": "Project",
+ "dependencies": {
+ "SonarLint.VisualStudio.ConnectedMode": "[1.0.0, )",
+ "SonarLint.VisualStudio.SLCore": "[1.0.0, )"
+ }
+ },
"SonarLint.VisualStudio.TypeScript": {
"type": "Project",
"dependencies": {
diff --git a/src/Integration.Vsix.UnitTests/packages.lock.json b/src/Integration.Vsix.UnitTests/packages.lock.json
index 53bde7129a..122b49d86a 100644
--- a/src/Integration.Vsix.UnitTests/packages.lock.json
+++ b/src/Integration.Vsix.UnitTests/packages.lock.json
@@ -1566,6 +1566,7 @@
"SonarLint.VisualStudio.Roslyn.Suppressions": "[1.0.0, )",
"SonarLint.VisualStudio.Rules": "[1.0.0, )",
"SonarLint.VisualStudio.SLCore": "[1.0.0, )",
+ "SonarLint.VisualStudio.SLCore.Listeners": "[1.0.0, )",
"SonarLint.VisualStudio.TypeScript": "[1.0.0, )",
"SonarQube.Client": "[1.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
@@ -1732,6 +1733,13 @@
"StreamJsonRpc": "[2.5.46, )"
}
},
+ "SonarLint.VisualStudio.SLCore.Listeners": {
+ "type": "Project",
+ "dependencies": {
+ "SonarLint.VisualStudio.ConnectedMode": "[1.0.0, )",
+ "SonarLint.VisualStudio.SLCore": "[1.0.0, )"
+ }
+ },
"SonarLint.VisualStudio.TypeScript": {
"type": "Project",
"dependencies": {
diff --git a/src/Integration.Vsix/AsmRef_Integration.Vsix_Baseline_WithStrongNames.txt b/src/Integration.Vsix/AsmRef_Integration.Vsix_Baseline_WithStrongNames.txt
index ebd8e82b05..d6d0c3593f 100644
--- a/src/Integration.Vsix/AsmRef_Integration.Vsix_Baseline_WithStrongNames.txt
+++ b/src/Integration.Vsix/AsmRef_Integration.Vsix_Baseline_WithStrongNames.txt
@@ -1,7 +1,7 @@
---
################################
# Assembly references report
-# Report date/time: 2024-01-24T09:46:02.8421640Z
+# Report date/time: 2024-02-07T10:15:27.0203827Z
################################
#
# Generated by Devtility CheckAsmRefs v0.11.0.223
@@ -24,7 +24,7 @@ Include patterns:
- 'Sonar*'
Exclude patterns:
- 'SonarLint.Secrets.DotNet*'
-# Number of matches: 22
+# Number of matches: 23
---
Assembly: 'SonarAnalyzer.CFG, Version=9.17.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
@@ -453,6 +453,14 @@ Referenced assemblies:
- 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
# Number of references: 7
+---
+Assembly: 'SonarLint.VisualStudio.SLCore.Listeners, Version=7.7.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
+Relative path: 'SonarLint.VisualStudio.SLCore.Listeners.dll'
+
+Referenced assemblies:
+- 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
+# Number of references: 1
+
---
Assembly: 'SonarLint.VisualStudio.TypeScript, Version=7.7.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Relative path: 'SonarLint.VisualStudio.TypeScript.dll'
diff --git a/src/Integration.Vsix/AsmRef_Integration.Vsix_Baseline_WithoutStrongNames.txt b/src/Integration.Vsix/AsmRef_Integration.Vsix_Baseline_WithoutStrongNames.txt
index e84d6929d3..0800db0fd1 100644
--- a/src/Integration.Vsix/AsmRef_Integration.Vsix_Baseline_WithoutStrongNames.txt
+++ b/src/Integration.Vsix/AsmRef_Integration.Vsix_Baseline_WithoutStrongNames.txt
@@ -1,7 +1,7 @@
---
################################
# Assembly references report
-# Report date/time: 2024-01-24T09:46:02.8421640Z
+# Report date/time: 2024-02-07T10:15:27.0203827Z
################################
#
# Generated by Devtility CheckAsmRefs v0.11.0.223
@@ -24,7 +24,7 @@ Include patterns:
- 'Sonar*'
Exclude patterns:
- 'SonarLint.Secrets.DotNet*'
-# Number of matches: 22
+# Number of matches: 23
---
Assembly: 'SonarAnalyzer.CFG, Version=9.17.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
@@ -453,6 +453,14 @@ Referenced assemblies:
- 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
# Number of references: 7
+---
+Assembly: 'SonarLint.VisualStudio.SLCore.Listeners, Version=7.7.0.0, Culture=neutral, PublicKeyToken=null'
+Relative path: 'SonarLint.VisualStudio.SLCore.Listeners.dll'
+
+Referenced assemblies:
+- 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
+# Number of references: 1
+
---
Assembly: 'SonarLint.VisualStudio.TypeScript, Version=7.7.0.0, Culture=neutral, PublicKeyToken=null'
Relative path: 'SonarLint.VisualStudio.TypeScript.dll'
diff --git a/src/Integration.Vsix/Integration.Vsix.csproj b/src/Integration.Vsix/Integration.Vsix.csproj
index 4bdc5af474..8dbfa838c9 100644
--- a/src/Integration.Vsix/Integration.Vsix.csproj
+++ b/src/Integration.Vsix/Integration.Vsix.csproj
@@ -248,11 +248,15 @@
DebugSymbolsProjectOutputGroup%3b
- {61B97D2B-8C79-41CD-AD7F-1F2E4AB6EED1}
SLCore
BuiltProjectOutputGroup%3bBuiltProjectOutputGroupDependencies%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup%3b
DebugSymbolsProjectOutputGroup%3b
+
+ SLCore.Listeners
+ BuiltProjectOutputGroup%3bBuiltProjectOutputGroupDependencies%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup%3b
+ DebugSymbolsProjectOutputGroup%3b
+
diff --git a/src/Integration.Vsix/Manifests/VS2019/source.extension.vsixmanifest b/src/Integration.Vsix/Manifests/VS2019/source.extension.vsixmanifest
index df02b87fec..ae3877d3bd 100644
--- a/src/Integration.Vsix/Manifests/VS2019/source.extension.vsixmanifest
+++ b/src/Integration.Vsix/Manifests/VS2019/source.extension.vsixmanifest
@@ -49,6 +49,7 @@
+