Skip to content

Commit

Permalink
Add SLCore.Listeners assembly (#5205)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgii-borovinskikh-sonarsource authored Feb 7, 2024
1 parent a4613c8 commit ee90d47
Show file tree
Hide file tree
Showing 13 changed files with 3,220 additions and 7 deletions.
26 changes: 24 additions & 2 deletions SonarLint.VisualStudio.Integration.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down
8 changes: 8 additions & 0 deletions src/CFamily.UnitTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -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, )",
Expand Down Expand Up @@ -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": {
Expand Down
8 changes: 8 additions & 0 deletions src/Integration.Vsix.UnitTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -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, )",
Expand Down Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
6 changes: 5 additions & 1 deletion src/Integration.Vsix/Integration.Vsix.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,15 @@
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup%3b</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference>
<ProjectReference Include="..\SLCore\SLCore.csproj">
<Project>{61B97D2B-8C79-41CD-AD7F-1F2E4AB6EED1}</Project>
<Name>SLCore</Name>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup%3bBuiltProjectOutputGroupDependencies%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup%3b</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup%3b</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference>
<ProjectReference Include="..\SLCore.Listeners\SLCore.Listeners.csproj">
<Name>SLCore.Listeners</Name>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup%3bBuiltProjectOutputGroupDependencies%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup%3b</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup%3b</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Analysis\AnalysisStrings.resx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="Education" Path="|Education|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="Rules" Path="|Rules|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="SLCore" Path="|SLCore|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="SLCore.Listeners" Path="|SLCore.Listeners|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="File" Path="secrets\SonarLint.Secrets.DotNet.dll" />

<!-- The Roslyn.Suppressions assembly is a MEF component and an analyzer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="Education" Path="|Education|" />
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="Education" Path="|Education;PkgdefProjectOutputGroup|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="Rules" Path="|Rules|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="SLCore" Path="|SLCore|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="SLCore.Listeners" Path="|SLCore.Listeners|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="File" Path="secrets\SonarLint.Secrets.DotNet.dll" />

<!-- The Roslyn.Suppressions assembly is a MEF component and an analyzer.
Expand Down
7 changes: 7 additions & 0 deletions src/Integration.Vsix/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,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": {
Expand Down
16 changes: 16 additions & 0 deletions src/SLCore.Listeners.UnitTests/SLCore.Listeners.UnitTests.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\SonarLint.Test.props" />

<PropertyGroup>
<RootNamespace>SonarLint.VisualStudio.SLCore.Listeners.UnitTests</RootNamespace>
<AssemblyName>SonarLint.VisualStudio.SLCore.Listeners.UnitTests</AssemblyName>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\SLCore\SLCore.csproj" />
<ProjectReference Include="..\SLCore.Listeners\SLCore.Listeners.csproj" />
<ProjectReference Include="..\TestInfrastructure\TestInfrastructure.csproj" />
</ItemGroup>

</Project>
Loading

0 comments on commit ee90d47

Please sign in to comment.