Skip to content

Nuget package dependencies are wrong for Plotly.NET.CSharp #375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kMutagene opened this issue Mar 15, 2023 · 1 comment
Closed

Nuget package dependencies are wrong for Plotly.NET.CSharp #375

kMutagene opened this issue Mar 15, 2023 · 1 comment

Comments

@kMutagene
Copy link
Collaborator

We need a way for project references to work (local development is much easier than using nuget references in a monorepo like this), but dotnet pack setting another dependency version than just >=version.

The exact error is Plotly.NET.CSharp not working in a blank notebook, due to the dependency on Plotly.NET being >= 3.0.0, but not working with 4.0.0 due to breaking changes. The real version range should be >= 3.0.0 && <4.0.0 :

Error:

image

Fix:

image

There is currently no built-in way to do this, but NuGet/Home#5556 contains several workarounds.

@kMutagene
Copy link
Collaborator Author

fixed starting with:

  • Plotly.NET.Interactive 4.1.0
  • Plotly.NET.ImageExport 4.0.0
  • Plotly.NET.CSharp 0.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant