-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .NET Standard 2.0 target #97
base: master
Are you sure you want to change the base?
Conversation
Hi @RichardD2 ! I did not take a look in the PR changes yet, but thank you for your contribution! I am unfamiliarized with PolySharp, so I need to take a look at it too. A question: did you need to use the library in a project targeting < .NET Standard 2.1 ? if so, I would like to know the scenario. |
@leandromoh I haven't used it yet, but it certainly looks interesting for some of our projects that need to parse flat files. We're largely stuck with .NET Framework because we need to support SQL Server Reporting Services. Microsoft seem to have given up on providing a .NET library for it, and I've not yet had a chance to evaluate the few third-party SSRS libraries I've found. :) |
@RichardD2 glad to know that 😁
thank you for the context, it is valuable to know the scenarios where the lib might be useful and user limitations. this kind of input help to reason about architecture decisions. CI had some problems when running unit tests for dotnet framework. |
I've updated the xUnit references to the latest version, since the ticket you linked to suggests this was fixed in 2.5.3, and the project was still referencing 2.4. |
Looks like something is trying to read the internal Which is strange, since that doesn't happen when I run that test directly in VS2022 on Windows. Perhaps it's a Mono issue? Is it worth trying the tests on a Windows image instead? |
I managed to get the tests running on my local WSL2 Ubuntu instance, and reproduced the problem. It looks like that error was caused by FluentAssertions; after upgrading to the latest version, that error went away. The only other problem I encountered was with new-lines. |
With a touch of PolySharp and a few shim methods, it's possible to get this library working in .NET Standard 2.0, and hence .NET Framework 4.x.