Skip to content
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

multi-target the unit tests as .NET Core 2.0 and .NET 4.6 #444

Merged
merged 1 commit into from
Apr 12, 2020

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Apr 11, 2020

refs #434 - multi-target the unit test project such that the unit tests can be run against both .NET and .NET Core.

It targets net 4.6 rather than 4.5 (to match the library build) because the System.Text.Encoding.CodePages package doesn't contain a 4.5 build.

An alternative there might be to only import the package in the Core build and ifdef the calls to Encoding.RegisterProvider, as the extra code pages should be available on the full framework by default anyway?

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

@piksel piksel merged commit b54b511 into icsharpcode:master Apr 12, 2020
@Numpsy Numpsy deleted the rw/tests/multi_target branch April 12, 2020 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants