billgraziano / CsvDataReader

Fast streaming CSV file reader for PowerShell impleted as a DataReader.
40 stars 22 forks source link

Could not load file or assembly #15

Open tconley opened 3 years ago

tconley commented 3 years ago

My script runs well if the script is called from e:\xxx and the CsvDataReader.dll is in e:\xxx , but if i move the ps1 script and CsvDataReaderdll to e:\xxx\newpath then i'm getting this error:

Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///E:\xxx\newpath\CsvDataReader.dll' or one of its dependencies. The system cannot find the file specified."

The file isn't blocked when i look in properties, and it was all of the same permissions as the file in the parent directory. Do i need to GAC this thing?

billgraziano commented 3 years ago

I don't know. I haven't touched or used this code in 5-6 years. Sorry :(

tconley commented 3 years ago

same issue here... any fixes?