You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails to start any project in any environent , linux , windows
in .net 9
To Reproduce
Steps to reproduce the behavior:
Go to your cproj add
as described in the documentation login using the following: ClientSettings settings = new() { SiteUrl = "https://eu.infisical.com/", Auth = new Infisical.Sdk.AuthenticationOptions { UniversalAuth = new UniversalAuthMethod { ClientId = "clientid", ClientSecret = "clientsecret } } }; var secretsClient = new InfisicalClient(settings);
build for production
deploy in any server
5 You will get the following error :
See error
Unhandled exception. System.DllNotFoundException: Unable to load DLL 'infisical_c' or one of its dependencies: The specified module could not be found. (0x8007007E)
at Infisical.Sdk.InfisicalLibrary.init(String settings)
at Infisical.Sdk.InfisicalLibrary.Init(String settings)
at Infisical.Sdk.InfisicalClient..ctor(ClientSettings settings)
Expected behavior
it should work in publish release but it doesnt it copies the dll in the project folder but it cannot reference it as it seems
Platform you are having the issue on:
windows server , windows 11, any OS
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
stratusaxarlis
changed the title
Unable to use infisical in production .net core with infisical sdk
Unable to use infisical in production .net core with infisical sdk 32bit enviroment
Dec 21, 2024
I'm currently facing the same error when trying to deploy an app using Docker on arm64 and it looks like switching to a non-arm64 image inside Dockerfile helps.
There's also a very similar issue in the sdk repo here.
It fails to start any project in any environent , linux , windows
in .net 9
To Reproduce
Steps to reproduce the behavior:
Go to your cproj add
as described in the documentation login using the following:
ClientSettings settings = new() { SiteUrl = "https://eu.infisical.com/", Auth = new Infisical.Sdk.AuthenticationOptions { UniversalAuth = new UniversalAuthMethod { ClientId = "clientid", ClientSecret = "clientsecret } } }; var secretsClient = new InfisicalClient(settings);
build for production
deploy in any server
5 You will get the following error :
See error
Unhandled exception. System.DllNotFoundException: Unable to load DLL 'infisical_c' or one of its dependencies: The specified module could not be found. (0x8007007E)
at Infisical.Sdk.InfisicalLibrary.init(String settings)
at Infisical.Sdk.InfisicalLibrary.Init(String settings)
at Infisical.Sdk.InfisicalClient..ctor(ClientSettings settings)
Expected behavior
it should work in publish release but it doesnt it copies the dll in the project folder but it cannot reference it as it seems
Platform you are having the issue on:
windows server , windows 11, any OS
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: