Giter Site home page Giter Site logo

Comments (4)

glime-ai avatar glime-ai commented on June 26, 2024

To address your issue with the MySqlConnector package causing compilation problems in your PostgreSQL-based project, it's important to understand that Elsa Workflow might have dependencies that are not directly used in your project but are included as part of the broader Elsa package suite. This can happen when a library is designed to support multiple database providers, and it includes the necessary drivers for each supported database as dependencies.

If you are not using MySQL in your project and you are certain that the MySqlConnector package is causing the compilation issue, you can try a few things:

  1. Ensure that you are referencing the correct NuGet package for PostgreSQL. For Elsa Workflow, you should be using Elsa.Persistence.EntityFrameworkCore along with Npgsql.EntityFrameworkCore.PostgreSQL.

  2. Check your project file to see if the MySqlConnector package is explicitly listed and remove it if it's not needed.

  3. If you are using package management tools like NuGet, try restoring your packages to see if that resolves the issue.

  4. Since you mentioned that you do not have internet access, make sure that all the necessary packages are available locally or in a local NuGet feed that your build process can access.

  5. If the issue persists, consider reaching out to the Elsa Workflow community or checking their GitHub issues for similar problems and potential solutions.

Since you are using .NET 6.0, ensure that all the packages you are using are compatible with that version.

If you need further assistance, please provide more details about the error messages you are receiving during compilation, and I will do my best to help you resolve the issue.

from elsa-core.

Suchiman avatar Suchiman commented on June 26, 2024

Duplicate of #5158

from elsa-core.

Suchiman avatar Suchiman commented on June 26, 2024

Should be resolved as of version 3.1.2 @daconglee

from elsa-core.

sfmskywalker avatar sfmskywalker commented on June 26, 2024

As per @Suchiman 's remark, this is now fixed. Thanks for reporting @daconglee , and many thanks @Suchiman for the fix 👍🏻

from elsa-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.