Skip to content

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.

2 participants