Comments (6)
I think if we do this, it's probably a good idea to do a major version bump, so that no-one requiring an older version would accidentally install a newer one with what they believe to be a small upgrade; I did the same thing with my libraries when I dropped support for .net 4.5.2
from logging-log4net.
Is multitargeting at least to the latest supported .NET runtimes still an option?
from logging-log4net.
I would still want to maintain a net462 package (and whatever comes after that in NETFX-world's support matrix - right now, that's the lowest version of .net framework that is supported by Microsoft)
Technically, you can use netstandard packages from net462 hosts, but doing so adds a bunch of overhead for the host as the entire netstandard runtime has to be shimmed out - go ahead and try it, you'll see a ton of compatibility packages coming down. And there's no benefit from our side in dropping netfx as we can stub out the netfx api (4.6.2+) from Mono when building on linux (reminder: this doesn't mean the output is linked to Mono, it just means that during build, the compiler is able to find runtime apis from Mono, to pass the build, and later externs them)
The versions I'd like to drop support for are:
- net20
- net35
- net40
- net40-client
- net45
These can be a mission to get working, even on a windows host (and most especially the client profile targets - I think there used to be a net35-client target too 😢 ) - I've had times when I could just install and use, and another time where I literally fought for ages and gave up, and it just so happened I could do so after a complete OS refresh. Installation would just randomly fail, or the OS would block it, saying I already had that version of .net framework.
And they're never going to work on non-windows hosts, so expecting contributions from people running other platforms is fantasy - people can't effectively contribute if they can't even build the project ):
from logging-log4net.
btw targeting netstandard & .net 4.6.2 is trivial with the Mono shim - it's how I do all my personal packages where I expect them to be used on netfx, eg NExpect, PeanutButter.*.
from logging-log4net.
+1 from me.
I think supporting net462 & netstandard2.0 is enough for everyone who is able and willing to upgrade their depencies to newer versions.
from logging-log4net.
I don't think so.
When we support net462 & netstandard2.0, you can use the package from every supported target framework.
Do you have a use case in mind where this would not work?
from logging-log4net.
Related Issues (20)
- [Bug] Android Archiving failing due to file being used by another processes HOT 2
- NullRefException from shutdown in 2.0.16 HOT 11
- Add support for nullable annotations
- Remove deprecated code for 3.0 HOT 4
- Enable building log4net with docker container
- Most links in the documentation are broken HOT 2
- Possible System.IndexOutOfRangeException in AppenderSkeleton.Finalize() HOT 3
- 3.0.0-preview.3 HOT 3
- .NET8.0 XML Exception Problem HOT 12
- Use Logging Services common pages HOT 4
- Add an `Installation` page and rework the `Download` page HOT 1
- Support aot? HOT 6
- I cannot use TimeEvaluator! HOT 6
- Projects page link to downloads produces error 404 HOT 4
- log4net in MAUI application HOT 5
- Remove RemotingAppender
- Regression: Creating nested loggers in reverse order fails in 3.0.0-preview.1 HOT 1
- Is the version 2.0.15 still supported? HOT 1
- PlatformNotSupportedExceptions when loading log4net HOT 3
- RollingFileAppender overwrites an old log even if AppendToFile is true when RollingStyle is Composite and there are some logs on that day. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logging-log4net.