Skip to content

Commit

Permalink
Fix dotnet5 (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashuaidehao committed Dec 25, 2020
1 parent b520c52 commit 4057acc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Neo" Version="3.0.0-CI01123" />
<PackageReference Include="Neo" Version="3.0.0-CI01125" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/RpcServer/RpcServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private async Task ProcessAsync(HttpContext context)
using StreamReader reader = new StreamReader(context.Request.Body);
try
{
request = JObject.Parse(reader.ReadToEnd());
request = JObject.Parse(await reader.ReadToEndAsync());
}
catch (FormatException) { }
}
Expand Down
6 changes: 1 addition & 5 deletions src/RpcServer/RpcServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,5 @@
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.2.0" />
</ItemGroup>


</Project>

0 comments on commit 4057acc

Please sign in to comment.