Josh Close
Josh Close
If you just want a `string[]` you can use the parser directly. ```cs void Main() { var s = new StringBuilder(); s.Append("Id,Name\r\n"); s.Append("1,one\r\n"); var config = new CsvConfiguration(CultureInfo.InvariantCulture) { };...
@FrankNanninga Do you know why that would be? I have these settings for `net45`. ```xml ``` It look like `net45` is covered. https://www.nuget.org/packages/System.ValueTuple/4.3.0#supportedframeworks-body-tab
Oh interesting. I'm sure there are a lot of places I'll need to do this. I have nullable stuff partially in place. Takes a while to do retroactively though.
I believe this is the same thing as this pull request. https://github.com/JoshClose/CsvHelper/pull/2106 I'm going to wait until after the SIMD work.
I'm not sure if this is possible. https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/warnings/il3050 Nearly every method in CsvHelper needs `RequiresDynamicCodeAttribute` added to it. It looks like you might just need to have the type declared...
Yeah... Pretty much every method in the system needs this added to it. Doesn't seem like the right way to do it. Make a note in the documentation on it...
Oh interesting. Do you have experience with source generators if I have questions?
Awesome thanks! I bet AOT will allow for all feature to work on iOS now too.
Looks like I might be able to do a quick and dirty solution of just creating classes `DefaultClassMap` and it still uses reflection to do everything. I need to confirm...
Looks like using compiled lambda expressions was interpreted in AOT scenarios previously. I'm checking if that is still the case. https://github.com/dotnet/runtime/issues/17973