Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
01b60de
Move LSP initialization helpers down
davidwengier Apr 13, 2025
69f21d7
Remove implicit usings from the VS code extension
davidwengier Apr 13, 2025
4595c6c
Create a shared project and move a few cohosting services to it, and …
davidwengier Apr 13, 2025
792fb24
Refactor client settings to make it sharable
davidwengier Apr 13, 2025
9ae25ff
Add a few required services for cohosting, without real implementatio…
davidwengier Apr 13, 2025
13fa1d7
fixup: create shared project
davidwengier Apr 13, 2025
4b5a41e
Move semantic tokens endpoint and document sync registration services…
davidwengier Apr 13, 2025
bf7d8fe
More registration back out to specific client implementations
davidwengier Apr 14, 2025
edd316e
Register for the right language name in VS Code
davidwengier Apr 14, 2025
2ee87a3
Add logger factory infra to VS Code extension to log via LSP
davidwengier Apr 15, 2025
5fc5946
Expose OOP services as in-proc services to the VS Code extension
davidwengier Apr 15, 2025
b7447a2
Use the new ICohostStartupService interface
davidwengier Apr 15, 2025
0190467
Use the proper cohost startup service instead of abusing dynamic regi…
davidwengier Apr 15, 2025
512cb14
Tell the compiler that cohosting is on, so it doesn't suppress the ge…
davidwengier Apr 16, 2025
5098b3b
Add a service to initialize the "remote" services
davidwengier Apr 16, 2025
a19c73b
Fix logger name 🤦‍♂️
davidwengier Apr 16, 2025
b645f02
Remove unused using
davidwengier Apr 17, 2025
063901b
Update log method name
davidwengier Apr 22, 2025
aceca24
Bump Roslyn
davidwengier Apr 23, 2025
8961cf3
Merge remote-tracking branch 'upstream/main' into dev/dawengie/Cohost…
davidwengier Apr 23, 2025
3a3c28a
Update MS.CA.Analyzers
davidwengier Apr 23, 2025
7a20abb
PR feedback
davidwengier Apr 23, 2025
f582d61
Merge remote-tracking branch 'upstream/main' into dev/dawengie/Cohost…
davidwengier Apr 23, 2025
a119bca
Update eng/Versions.props
davidwengier Apr 23, 2025
bd99246
Update
davidwengier Apr 23, 2025
6e1617c
Initialize remote export provider
davidwengier Apr 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Razor.sln
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Microsoft.CodeAnalysis.Razo
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CodeAnalysis.Razor.Compiler", "src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Microsoft.CodeAnalysis.Razor.Compiler.csproj", "{E102632D-EC30-474F-B2EB-6EB07ED45F27}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Microsoft.CodeAnalysis.Razor.CohostingShared", "src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Microsoft.CodeAnalysis.Razor.CohostingShared.shproj", "{6778F3D4-C6C2-4882-9F86-54FCD44B078A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -587,15 +589,19 @@ Global
{094A024C-7DC1-487B-9F52-9D65CDFEE18D} = {92463391-81BE-462B-AC3C-78C6C760741F}
{440580F4-D746-49BB-AE8E-9F898483EA75} = {5B60F564-4AD7-4B70-A887-7D91496799A2}
{E102632D-EC30-474F-B2EB-6EB07ED45F27} = {440580F4-D746-49BB-AE8E-9F898483EA75}
{6778F3D4-C6C2-4882-9F86-54FCD44B078A} = {3C0D6505-79B3-49D0-B4C3-176F0F1836ED}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0035341D-175A-4D05-95E6-F1C2785A1E26}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
src\Shared\Microsoft.AspNetCore.Razor.Serialization.Json\Microsoft.AspNetCore.Razor.Serialization.Json.projitems*{078aef36-f319-4ce2-baa2-5b58a6536b46}*SharedItemsImports = 5
src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Microsoft.CodeAnalysis.Razor.CohostingShared.projitems*{2223b8fd-d98a-47be-94a9-6a3a6b8557b8}*SharedItemsImports = 5
src\Shared\Microsoft.AspNetCore.Razor.Serialization.Json\Microsoft.AspNetCore.Razor.Serialization.Json.projitems*{6205467f-e381-4c42-aeec-763bd62b3d5e}*SharedItemsImports = 5
src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Microsoft.CodeAnalysis.Razor.CohostingShared.projitems*{6778f3d4-c6c2-4882-9f86-54fcd44b078a}*SharedItemsImports = 13
src\Shared\Microsoft.AspNetCore.Razor.Serialization.Json\Microsoft.AspNetCore.Razor.Serialization.Json.projitems*{7b1c5668-b4bc-45d9-ae4c-9c2382fc47a9}*SharedItemsImports = 5
src\Shared\Microsoft.AspNetCore.Razor.Serialization.Json\Microsoft.AspNetCore.Razor.Serialization.Json.projitems*{cd6913f3-ec47-4470-9c45-f5f898615e9d}*SharedItemsImports = 13
src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Microsoft.CodeAnalysis.Razor.CohostingShared.projitems*{e5d92db7-5cbf-410a-9685-ff76f71ec96f}*SharedItemsImports = 5
src\Shared\Microsoft.AspNetCore.Razor.Serialization.Json\Microsoft.AspNetCore.Razor.Serialization.Json.projitems*{e5d92db7-5cbf-410a-9685-ff76f71ec96f}*SharedItemsImports = 5
EndGlobalSection
EndGlobal
96 changes: 46 additions & 50 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,103 +7,99 @@
<Sha>7dbf5deea5bdccf513df73cba179c4c0ad106010</Sha>
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CommonLanguageServerProtocol.Framework" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CommonLanguageServerProtocol.Framework" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.Razor" Version="5.0.0-1.25207.1">
<Dependency Name="Microsoft.CodeAnalysis.Common" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>09312a65870e883999ffe2ca25edd05cbc241e05</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Common" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.CSharp.EditorFeatures" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp.EditorFeatures" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Features" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Features" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Common" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Common" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Text" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Text" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Wpf" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Wpf" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.Remote.ServiceHub" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Remote.ServiceHub" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.Common" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.Common" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.VisualStudio.LanguageServices" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.VisualStudio.LanguageServices" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.Test.Utilities" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Test.Utilities" Version="5.0.0-1.25209.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.roslyn" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.SourceBuild.Intermediate.roslyn" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.Razor.Features" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.Razor.Features" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.Razor.EditorFeatures" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.Razor.EditorFeatures" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.LanguageServer.Protocol" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.LanguageServer.Protocol" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.FSharp" Version="5.0.0-1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.FSharp" Version="5.0.0-1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.12.0-beta1.25209.6">
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.12.0-beta1.25222.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>605d9346cdae106907f67663250788eff6048b09</Sha>
<Sha>05e49aa98995349ffa26a19020333293ffe99670</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
Expand Down
47 changes: 23 additions & 24 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,31 @@

-->
<PropertyGroup Label="Automated">
<MicrosoftCodeAnalysisAnalyzersPackageVersion>3.12.0-beta1.25209.6</MicrosoftCodeAnalysisAnalyzersPackageVersion>
<MicrosoftCodeAnalysisAnalyzersPackageVersion>3.12.0-beta1.25222.12</MicrosoftCodeAnalysisAnalyzersPackageVersion>
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>9.0.0-alpha.1.25209.1</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>
<MicrosoftSourceBuildIntermediatearcadePackageVersion>9.0.0-beta.25208.6</MicrosoftSourceBuildIntermediatearcadePackageVersion>
<MicrosoftNetCompilersToolsetPackageVersion>5.0.0-1.25209.6</MicrosoftNetCompilersToolsetPackageVersion>
<MicrosoftCodeAnalysisExternalAccessFSharpPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisExternalAccessFSharpPackageVersion>
<MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>5.0.0-1.25209.6</MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>
<MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>5.0.0-1.25207.1</MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>
<MicrosoftCodeAnalysisExternalAccessRazorEditorFeaturesPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisExternalAccessRazorEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisExternalAccessRazorFeaturesPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisExternalAccessRazorFeaturesPackageVersion>
<MicrosoftCodeAnalysisCommonPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisCommonPackageVersion>
<MicrosoftCodeAnalysisCSharpPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisCSharpPackageVersion>
<MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>
<MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>
<MicrosoftCodeAnalysisLanguageServerProtocolPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisLanguageServerProtocolPackageVersion>
<MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>
<MicrosoftCodeAnalysisTestUtilitiesPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisTestUtilitiesPackageVersion>
<MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>
<MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>
<MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>5.0.0-1.25209.6</MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>
<MicrosoftSourceBuildIntermediateroslynPackageVersion>5.0.0-1.25209.6</MicrosoftSourceBuildIntermediateroslynPackageVersion>
<MicrosoftVisualStudioLanguageServicesPackageVersion>5.0.0-1.25209.6</MicrosoftVisualStudioLanguageServicesPackageVersion>
<MicrosoftNetCompilersToolsetPackageVersion>5.0.0-1.25222.12</MicrosoftNetCompilersToolsetPackageVersion>
<MicrosoftCodeAnalysisExternalAccessFSharpPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisExternalAccessFSharpPackageVersion>
<MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>5.0.0-1.25222.12</MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>
<MicrosoftCodeAnalysisExternalAccessRazorEditorFeaturesPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisExternalAccessRazorEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisExternalAccessRazorFeaturesPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisExternalAccessRazorFeaturesPackageVersion>
<MicrosoftCodeAnalysisCommonPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisCommonPackageVersion>
<MicrosoftCodeAnalysisCSharpPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisCSharpPackageVersion>
<MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>
<MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>
<MicrosoftCodeAnalysisLanguageServerProtocolPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisLanguageServerProtocolPackageVersion>
<MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>
<MicrosoftCodeAnalysisTestUtilitiesPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisTestUtilitiesPackageVersion>
<MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>
<MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>
<MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>5.0.0-1.25222.12</MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>
<MicrosoftSourceBuildIntermediateroslynPackageVersion>5.0.0-1.25222.12</MicrosoftSourceBuildIntermediateroslynPackageVersion>
<MicrosoftVisualStudioLanguageServicesPackageVersion>5.0.0-1.25222.12</MicrosoftVisualStudioLanguageServicesPackageVersion>
<!--
Exception - Microsoft.Extensions.ObjectPool and System.Collections.Immutable packages are not updated by automation,
but are present in Version.Details.xml for source-build PVP flow. See the comment in Version.Details.xml for more information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<InternalsVisibleTo Include="Microsoft.VisualStudio.LegacyEditor.Razor" Key="$(RazorKey)" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LegacyEditor.Razor.Test" Key="$(RazorKey)" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.RazorExtension" Key="$(RazorKey)" />
<InternalsVisibleTo Include="Microsoft.VisualStudioCode.RazorExtension" Key="$(RazorKey)" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,11 @@ namespace Microsoft.VisualStudio.Razor.LanguageClient.Cohost;
[Shared]
[Export(typeof(IDynamicRegistrationProvider))]
#pragma warning restore RS0030 // Do not use banned APIs
internal sealed class CohostEndpointRegistration : IDynamicRegistrationProvider
internal sealed class CohostDocSyncEndpointRegistration : IDynamicRegistrationProvider
{
public ImmutableArray<Registration> GetRegistrations(VSInternalClientCapabilities clientCapabilities, RazorCohostRequestContext requestContext)
{
return [
// Project Context, for the nav bar
new Registration
{
Method = VSMethods.GetProjectContextsName,
RegisterOptions = new TextDocumentRegistrationOptions()
},
// DidOpen, DidChange, DidClose, for document synchronization
new Registration
{
Expand Down
Loading