Comments (1)
There are two problems here:
- Using an out-of-date SDK: 5.6.3 was the last release of the NuGet package called
LaunchDarkly.Client
, almost two years ago. As you'll see in the documentation and the changelog, the package name was changed toLaunchDarkly.ServerSdk
starting in 5.6.4. - Updating
LaunchDarkly.EventSource
separately from the SDK package. There is a specific dependency version ofLaunchDarkly.EventSource
for each version of the SDK package. That is the one it wants (and the same goes for any other LaunchDarkly packages that the SDK references). Since we follow semantic versioning, it should be OK to update a dependency to a later minor version— but it is never a good idea to update to a later major version (in this case, from 3.x to 4.0) because, by definition, new major versions are likely to be backward-incompatible. The 4.0.0 release ofLaunchDarkly.EventSource
is not meant for this version of the SDK, but for the upcoming 6.0 version.
If you're using .NET Core, you should never need to add or update transitive dependencies explicitly— your application should only have a dependency on the SDK itself, not on any of the other things the SDK uses. Then you'll always be getting the right version.
If you're using ASP.NET, unfortunately it will default to using the old-style "packages.json" format for dependencies, and it will add in all of the transitive dependencies there explicitly when you install the SDK, so there's no way to avoid having them listed as dependencies of your app. But, instead of trying to update those separately, the right way to go is to uninstall all of the LaunchDarkly packages and then install the new version of the SDK— causing it to bring in the correct versions of the transitive dependencies for that version.
from dotnet-eventsource.
Related Issues (20)
- SSE Server, Disconnection detection HOT 1
- Release tag missed for 2.2.1 HOT 1
- Null Reference Exceptions in EventSource HOT 8
- Replace System assembly references with framework references HOT 1
- DelayRetryDuration not working as intended HOT 4
- ObjectDisposedException HOT 4
- System.Net.WebException: The operation has timed out. HOT 1
- .NET Standard 1 CVE HOT 7
- CancellationTokenSource memory leak HOT 7
- close is not closing the stream which is leaving the socket alive HOT 9
- Make the EventSource-class extensible HOT 12
- EventSource doesn't use Proxy configuration HOT 3
- eventsource in blazor HOT 2
- Remove dependency on Polly-Signed HOT 1
- Question: Is there a sample code to know how to use this library? HOT 5
- Retry field not used correctly HOT 5
- Error when importing because of dependencies of LaunchDarkly.Logging HOT 4
- Error when trying to send a request with headers HOT 6
- ASP.NET app needs binding redirect to run HOT 2
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 dotnet-eventsource.