Comments (9)
2.0.0-rc has a WS4Net provider, and can be used under Windows 7 (both via .NET Core and .NETFX). Code on master branch is being slowly obsoleted in favour of code on netcore branch. If you want to submit a PR, feel free to do so, however I'd prefer if the WS4Net code was provided as an alternative to the default one, rather than a replacement.
from dsharpplus.
netcore requires windows 10 creators update as it requires .net 4.7.0 package :D
2.0.0-rc corresponds to master or different branch? Maybe its possible for me to use it instead.
from dsharpplus.
2.0.0-rc is the netcore branch, and it only requires .NETFX 4.7 to build (that was also disabled recently, until AppVeyor gets support for thereof, for now it just caps off at .NETFX 4.6.2). You can run it on .NETFX 4.5.2+, .NET Core 1.0+, and any other platform targeting .NET Standard 1.1+ (such as Xamarin, Universal Windows Platform, Windows 8 Metro, Windows Phone 8).
If you want to use 2.0.0, you want to do so via NuGet or MyGet. Check pre-release in your NuGet window, and install DSharpPlus
. If you want to use the WS4Net or WS# provider, install DSharpPlus.WebSocket.WebSocket4Net
or DSharpPlus.WebSocket.WebSocketSharp
respectively. The former is preferred, as it is more stable.
To use the MyGet feed (which generally contains more recent builds), add https://www.myget.org/F/dsharpplus-nightly/api/v3/index.json
to your NuGet sources first.
After it's installed, call client.SetSocketImplementation<WebSocket4NetProvider>()
or so.
from dsharpplus.
Installing NuGet prerelase + WebSocket4Net solved my trouble as well :)
I also see that WebSocket4Net and WebSocketSharp do not support .netcore, I'll try to tinker with this when I have some time.
from dsharpplus.
They don't, because the underlying libraries do not support .NET Standard.
from dsharpplus.
I'll close that for now, comment if you have further questions.
from dsharpplus.
They don't, because the underlying libraries do not support .NET Standard.
Yeah, WebSocket4Net has some .netcore support only in beta package, but that might not be stable yet.
from dsharpplus.
Problem is, these are pre-release packages. I would prefer not to rely on pre-release packages in the project, because that forces marking your project as pre-release as well. In case we go out of pre-release earlier than those packages, it will present a problem.
from dsharpplus.
Indeed, that would be my thoughts as well.
from dsharpplus.
Related Issues (20)
- Pre-emptive ratelimit warnings when EditResponseAsync() after a response has already been given, HOT 2
- [Commands] Return message object on EditResponseAsync
- [Commands] Upper case letters in name of slash commands HOT 2
- [Commands] Register context menu even if command in group
- [Commands] Autocomplete provider throws null reference if command has user parameter
- Lavalink connection HOT 2
- [Commands] ContextMenu commands execute twice HOT 3
- [Commands] Optional enum options in the middle, if left blank cause overflow exception HOT 2
- Polls support
- v5 extensions and events design HOT 18
- [Commands] Command class is assumed to be Group Command in CommandBuilder factory
- [Commands] Having multiple optional command parameters that some are left blank causes them to move forward
- VoiceNextConnection does not disconnect if called inside an event of a connection HOT 1
- DefaultCommandErrorHandlerAsync throws when Exception.Message.Length > 2000 chars
- Nullable slash command arguments throw DSharpPlus.Commands.Exceptions.ArgumentParseException HOT 2
- Nullable Enum cannot be used as SlashCommand argument HOT 1
- `InteractionConverterContext.Interaction.Data.Resolved.Roles` can be null when mentioning a `DiscordMember` or `DiscordUser`, causing NRE.
- Command parameters are getting wrong interpreted
- Rest client ratelimit inconsistencies
- VoiceNext VoiceReceive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsharpplus.