Skip to content

Commit

Permalink
Avoid packing sample server, fixed undefined exception
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll committed Jan 20, 2019
1 parent f25fdae commit 0832add
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions sample/SampleServer/SampleServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Server/SupportedCapabilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace OmniSharp.Extensions.LanguageServer.Server
{
class SupportedCapabilities : ISupportedCapabilities
{
private static readonly MethodInfo SetCapabilityInnerMethod = typeof(LspHandlerDescriptorHelpers)
private static readonly MethodInfo SetCapabilityInnerMethod = typeof(SupportedCapabilities)
.GetTypeInfo()
.GetMethod(nameof(SetCapabilityInner), BindingFlags.NonPublic | BindingFlags.Static);

Expand Down

0 comments on commit 0832add

Please sign in to comment.