mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Consider use of branches for different NET-runtime versions #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @norvegec on GitHub (Mar 16, 2015).
My goal is to have
NET3.5-targeted project with tests.Afaik, Microsoft unit test projects require
NET3.5or newer.SharpCompress.NET2is easily upgradeable to 3.5 (just removeLinqBridgeand target 3.5).The problems with different runtime versions had arosed, when I cloned the
SharpCompress.Testto targetNET3.5. Some of those problems are, for example: optional parameters, absence of someIO.Directorymethods,IEnumerable<T>is not covariant.So, can we replace preprocessor-directives style of code with project-by-framework style?
We can use different branches to simplify support. What do you think?
As a side note, do we really need to support NET2 version?
Windows 7and newer (client) andWindows 2008 R2 SP1(server) are shipped withNET 3.5.