Discord.Addons.WebSocketSharp 1.0.1

websocket-sharp-based provider for Discord.Net, allowing it to run under Mono.

Install-Package Discord.Addons.WebSocketSharp -Version 1.0.1
dotnet add package Discord.Addons.WebSocketSharp --version 1.0.1
<PackageReference Include="Discord.Addons.WebSocketSharp" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Discord.Addons.WebSocketSharp --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Discord.Addons.WebSocketSharp

This addon adds a websocket provider based on websocket-sharp, which
allows Discord.Net to run under Mono, which in turn allows its use on
platforms which .NET Core does not support. Among these is the popular
Raspberry Pi Zero.

Depending on your version of Mono, an additional project-specific workaround may be needed. The System.Net.Http.dll file must be deleted from the output directory, and an assembly redirect must be added to the configuration.

<configuration>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.0.0.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>
<Target Name="DeleteNetHttpMono" AfterTargets="AfterBuild">
  <Delete Files="$(OutputPath)\System.Net.Http.dll" />
</Target>

Discord.Addons.WebSocketSharp

This addon adds a websocket provider based on websocket-sharp, which
allows Discord.Net to run under Mono, which in turn allows its use on
platforms which .NET Core does not support. Among these is the popular
Raspberry Pi Zero.

Depending on your version of Mono, an additional project-specific workaround may be needed. The System.Net.Http.dll file must be deleted from the output directory, and an assembly redirect must be added to the configuration.

<configuration>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.0.0.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>
<Target Name="DeleteNetHttpMono" AfterTargets="AfterBuild">
  <Delete Files="$(OutputPath)\System.Net.Http.dll" />
</Target>

Release Notes

Initial release.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 910 12/20/2017