-
Notifications
You must be signed in to change notification settings - Fork 126
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
Could not load file or assembly 'RepoDb.PostgreSql.dll' #1040
Comments
@Swoorup I think, I have made an explanation to this in the gitter chat in the past. Is this issue still necessary to be fixed? Please advise as we are now moving towards the new release. |
@mikependon Is it possible to add I think it's common to launch projects from directory using |
@mikependon can you, please describe the issue also here? I think we still need the fix as we cannot debug the project with VisualStudio right now.. |
@jbrezina sure.
The main reason to this is the fact that Why on-the-fly loading? It is because that |
I think the source directory is not read correctly as the edit: I can see that there is no path given to the library, could you use something like AppDomain.BaseDirectory to build the path to the library? Or something like AsseblyLoadContext? Or any other method to get the exact location of the file? |
this is quite annoying as it breaks |
Fixes to the #1040 | Integration Tests | IDbHelper.DynamicHandler
In the fixes, we have completely eliminated the dynamic loading of the extended library. To resolved the issue, we have extended the The fixes to this will be available in the next version of the library >= v1.13.1-alpha2. |
Bug Description
When launching a dotnet executable using
dotnet run -- -c appsettings.json
from a project directory, it no longer finds RepoDb.PostgreSqlException Message:
Library Version:
Example: RepoDb 1.12.10 and RepoDb.PostgreSql 1.1.5
The text was updated successfully, but these errors were encountered: