Rob Hague
Rob Hague
> The function `WriteRecordsAsync` is considering the `IData` as the type of the list and not the class that implement the interface. That's because it is. Using `csv.WriteRecords((IEnumerable)list)` might work...
This regressed in 542e301a. The reason is twofold: 1. `DynamicRecordCreator` uses `Reader.TryGetField` when there is a header record, which swallows all exceptions (in particular, the `BadDataException`) from `GetField` https://github.com/JoshClose/CsvHelper/blob/9848510ed0fc0980bda687882c5ea123b7d7d3ce/src/CsvHelper/Expressions/DynamicRecordCreator.cs#L43 2....
Attributes are only used in automatic mapping. They are not used if you are defining your own `ClassMap`. Perhaps `MemberMap` should expose an `ApplyAttributes` with the logic from: https://github.com/JoshClose/CsvHelper/blob/7b3ed4d45af8385e732a42eb161b0d129736edb3/src/CsvHelper/Configuration/ClassMap.cs#L617-L631 This...
(I know nothing about powershell modules) Is it possible to package Microsoft.Bcl.AsyncInterfaces.dll alongside Renci.SshNet.dll?
Where is Renci.SshNet.dll and SshNet.Security.Cryptography.dll? Should Microsoft.Bcl.AsyncInterfaces.dll be alongside those?
Any more error details from `$error.Exception`?
The HResult is 0x80131621 which has a few results on google, including https://github.com/pnp/powershell/discussions/1814 Perhaps there is some conflict somewhere. Does this show anything? `[System.AppDomain]::CurrentDomain.GetAssemblies() | Where-Object {$_.FullName -match "Microsoft.Bcl.AsyncInterfaces"} |...
I have a C:\Program Files\PowerShell\7\Microsoft.Bcl.AsyncInterfaces.dll which is version 5.0.0.0 The problem could be that the SSH.NET nuspec defines an [exact dependency](https://github.com/sshnet/SSH.NET/blob/7436a38b7827c50325aa66c78b8b6800f94a813f/build/nuget/SSH.NET.nuspec#L23) (with square brackets) on 8.0.0 and because PS7 has...
Great It would be useful if you could do a quick check with a local build using version 8.0.0 and see whether it still works (which would imply the problem...
@mus65 I'm not so clear on the nuances of dll loading 🙂 Can you can modify your PR to take version >= 1.0.0?