elsa-core
elsa-core copied to clipboard
Cann't find System.ComponentModel.Annotations(>= 6.0.0-preview.4.21253.7) in nuget
Elsa.Workflows.Core dependencies on System.ComponentModel.Annotations(>= 6.0.0-preview.4.21253.7),but in nuget we cann't find it,the current version is 5.0.0. So,how to fix it?
To address the issue with the dependency on System.ComponentModel.Annotations
version 6.0.0-preview.4.21253.7
that you cannot find on NuGet, you have a couple of options:
-
Check for newer versions of Elsa: It's possible that the version of Elsa you are using has been updated to depend on a stable version of
System.ComponentModel.Annotations
that is available on NuGet. You should check the latest versions of Elsa on NuGet or the official Elsa GitHub repository to see if this issue has been resolved in a newer release. -
Use a preview feed: If Elsa is depending on a preview version of
System.ComponentModel.Annotations
, you might need to add a NuGet feed that includes preview packages. This could be the official NuGet feed or a MyGet feed that the Elsa team uses for development. You can add this feed to yourNuGet.config
file. -
Manually reference the package: If you know the package exists in a specific feed, you can manually add the package source to your
NuGet.config
file or directly within your project's package reference section. -
Contact Elsa Support: If you're unable to resolve the dependency issue, consider reaching out to the Elsa support community or filing an issue on the Elsa GitHub repository. The maintainers or community may provide a solution or workaround.
Remember to always back up your project before making changes to package references or upgrading packages.
If you need further assistance with this, please provide more details about your current setup, including the specific version of Elsa you are using and any error messages you are receiving.
For me a release package of elsa should not be using preview packages of third parties and hence this dependency should be switched to a release package.
I think it's been removed 👍🏻