Skip to content

Commit

Permalink
Attempt to fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-at-octopus committed Aug 30, 2021
1 parent 739946f commit d647e5b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
7 changes: 0 additions & 7 deletions source/Halibut.Tests/Halibut.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@
<PackageReference Include="Serilog.Sinks.ColoredConsole" Version="2.0.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net462' ">
<DefineConstants>$(DefineConstants);SUPPORTS_WEB_SOCKET_CLIENT</DefineConstants>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ public class TypeNotAllowedException : Exception, ISerializable
public Type DisallowedType { get; }
public string Path { get; }
}
public class WebSocketStream : Stream, IDisposable
public class WebSocketStream : Stream, IDisposable, IAsyncDisposable
{
public WebSocketStream(WebSocket context) { }
public bool CanRead { get; }
Expand Down
4 changes: 0 additions & 4 deletions source/Halibut/Halibut.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.1" />
<PackageReference Include="System.Reflection.DispatchProxy" Version="4.4.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
Expand Down

0 comments on commit d647e5b

Please sign in to comment.