Skip to content

Commit 0832add

Browse files
Avoid packing sample server, fixed undefined exception
1 parent f25fdae commit 0832add

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sample/SampleServer/SampleServer.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5+
<IsPackable>false</IsPackable>
56
<TargetFramework>netcoreapp2.0</TargetFramework>
67
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
78
</PropertyGroup>

src/Server/SupportedCapabilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace OmniSharp.Extensions.LanguageServer.Server
1010
{
1111
class SupportedCapabilities : ISupportedCapabilities
1212
{
13-
private static readonly MethodInfo SetCapabilityInnerMethod = typeof(LspHandlerDescriptorHelpers)
13+
private static readonly MethodInfo SetCapabilityInnerMethod = typeof(SupportedCapabilities)
1414
.GetTypeInfo()
1515
.GetMethod(nameof(SetCapabilityInner), BindingFlags.NonPublic | BindingFlags.Static);
1616

0 commit comments

Comments
 (0)