dotnet / dotnet/roslyn

Remove dependency on MAUI/XAML implementation details

Open
#84,158 1 comment 0 reactions 0 assignees View on GitHub
Area-IDE
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

Language server should not depend on implementation details of MAUI/XAML.
We should create a service that MAUI/XAML can use to publish any brokered services it needs to access without hardcoding them in Roslyn source:

https://github.com/dotnet/roslyn/blob/4789c5066ee1943f2b17a72efa25d68333abc1e3/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/BrokeredServices/Services/Descriptors.cs#L47-L53

Contributor guide

Open the contributing guide

Research direction

Start by reading src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/BrokeredServices/Services/Descriptors.cs around lines 47-53 and trace how the language server references MAUI/XAML services. Identify the service boundary needed for MAUI/XAML to publish brokered services without Roslyn hardcoding their implementation details. Done means those implementation-specific dependencies are removed and the new publishing service is usable by MAUI/XAML.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
developer-experience, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.