-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move registration options to the descriptor #156
Conversation
bjorkstromm
commented
Jul 19, 2019
- Fixes issue where clients that doesn't support dynamic registrations will not end up with the correct handler matching the document (due to that registration is null). See OmniSharp-Roslyn issues [LSP] Failed to handle request textDocument/didChange omnisharp-roslyn#1505 and LSP Mode does not seem to work with OmniSharp Client omnisharp-roslyn#1525
- Fixes issue where clients that doesn't support dynamic registrations will not end up with the correct handler matching the document (due to that registration is null). See OmniSharp-Roslyn issue #1505 and #1525
@@ -13,7 +13,7 @@ | |||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" /> | |||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" /> | |||
<PackageReference Include="Newtonsoft.Json" /> | |||
<Compile Include="../../submodules/MediatR/src/MediatR/**/*.cs" Exclude="**/AssemblyInfo.cs" Visible="false" /> | |||
<Compile Include="../../submodules/MediatR.Extensions.Microsoft.DependencyInjection/src/MediatR.Extensions.Microsoft.DependencyInjection/**/*.cs" Exclude="**/AssemblyInfo.cs" Visible="false" /> | |||
<Compile Include="../../submodules/MediatR/src/MediatR/**/*.cs" Exclude="**/*AssemblyInfo.cs" Visible="false" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason, when source including from OmniSharp-Roslyn, VS will go and restore the embedded MediatR, making it pickup a generated Assembly Info from obj
folder. This fixes that.
@@ -15,16 +15,16 @@ export function activate(context: ExtensionContext) { | |||
|
|||
// The server is implemented in node | |||
// let serverExe = 'dotnet'; | |||
let serverExe = 'D:\\development\\omnisharp\\omnisharp-roslyn\\bin\\Debug\\OmniSharp.Stdio.Driver\\net461\\OmniSharp.exe'; | |||
let serverExe = 'C:/Users/mb/src/gh/omnisharp-roslyn/artifacts/publish/OmniSharp.Stdio.Driver/win7-x64/OmniSharp.exe'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I'll remove these.
…ation and create the registrations on demand as needed