Skip to content
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

[BUG] Elsa has references to obsolete nuget package MassTransit.Extensions.DependencyInjection #5380

Open
DnikitaA opened this issue May 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DnikitaA
Copy link

Description

In one of the Elsa versions, the MassTransit package was updated to version 8.x. But package MassTransit.Extensions.DependencyInjection is obsolete and was removed from the MassTranstit 8.x.
However, Elsa projects still have references to package MassTransit.Extensions.DependencyInjection.
This dependency causes build conflicts in some configuration instructions of MassTransit.

Steps to Reproduce

Open sample project and try to build solution.

Sample Project: ElsaQuickstarts.WebApp.HelloWorld.zip

Expected Behavior

Reference to nuget package MassTransit.Extensions.DependencyInjection 7.3.1 should be removed.

Actual Behavior

Elsa project has references to obsolete nuget package MassTransit.Extensions.DependencyInjection 7.3.1.

Environment

  • Elsa Package Version: 2.14.1 or 3.1.3
@DnikitaA DnikitaA added the bug Something isn't working label May 14, 2024
Copy link

glime-ai bot commented May 14, 2024

To address the issue with the MassTransit package in Elsa, you should first ensure that you are using the correct versions of Elsa and MassTransit that are compatible with each other. Since the MassTransit.Extensions.DependencyInjection package is obsolete in MassTransit version 8.x, you should remove any references to this package from your project.

Here are the steps you can take:

  1. Update your Elsa packages to the latest version that is compatible with MassTransit 8.x. You can find the latest versions of Elsa packages on NuGet or by checking the official Elsa documentation.

  2. Remove the MassTransit.Extensions.DependencyInjection package from your project if it is referenced. You can do this by editing your project file (.csproj) and removing the line that references this package.

  3. Update your MassTransit configuration in your project to use the new methods provided by MassTransit 8.x. Refer to the MassTransit documentation for guidance on how to configure MassTransit without the obsolete package.

  4. Ensure that all other dependencies in your project are compatible with the updated versions of Elsa and MassTransit.

  5. Rebuild your project to verify that the issue has been resolved.

If you encounter any specific errors during the build process after making these changes, please provide the error messages so that further assistance can be provided.

This comment was generated by Glime.

@DnikitaA
Copy link
Author

DnikitaA commented May 14, 2024

I have latest version Elsa 2.14.1.

MassTransit.Extensions.DependencyInjection was referenced by Elsa.Activities.MassTransit, not the root project.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant