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

Support for Sap.Data.Hana.Core #1501

Open
lucas-garrido opened this issue Aug 19, 2021 · 1 comment
Open

Support for Sap.Data.Hana.Core #1501

lucas-garrido opened this issue Aug 19, 2021 · 1 comment

Comments

@lucas-garrido
Copy link

Hello !
When i try to run a migration i have the following error :
---> (Inner Exception #4) System.IO.FileNotFoundException: Could not load file or assembly 'Sap.Data.Hana.v4.5, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

I'm not using the hana v4.5 dll but the last one for net core

To Reproduce
csproj :
image

startup.cs:
image
image

Information:

  • OS: Docker debian 10
  • Platform .NET 5
  • FluentMigrator version [ e.g 3.2.1 ]
  • FluentMigrator runner in-process runner"
  • Database Management System Hana
@jzabroski
Copy link
Collaborator

AddHana uses Sap.Data.Hana, not Sap.Data.Hana.Core. We would need to add an extension method for that. It is easy enough. Let me know if you are interested in submitting a PR for an AddHanaCore()

@jzabroski jzabroski changed the title Problem loading Hana dll Support for Sap.Data.Hana.Core Dec 30, 2022
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

3 participants