Hello,
I am using a Powershell script to restore Firebird DBs and run some scripts to overwrite customer specific configurations (e.g. server settings) in order to use these DBs in my dev/test environment.
When I try to connect to a FB5 DB and use the latest Firebird.net provider I receive an error that dependencies could not be loaded.
Please advice how the latest version of the Firebird .net provider can be loaded into Powershell.
Thanks
Niko
# Define Assembly path
$assemblyPath = 'D:\Scripts\FirebirdSql.Data.FirebirdClient.dll'
# Add assembly DLL
try
{
Add-Type -Path $assemblyPath
$assembly = Add-Type -LiteralPath $assemblyPath -PassThru
}
catch [System.SystemException]
{
$error[0].Exception.GetBaseException().LoaderExceptions
Write-Host "Fehler"
Write-Host $_
}