4 ms·
For anyone wondering, the .NET 2.0 dependency gives this really widespread compatibility on Windows. It will run on Server 2003 R2 through Windows 7 without th
by rkagerer 6y ago
For anyone wondering, the .NET 2.0 dependency gives this really widespread compatibility on Windows.
It will run on Server 2003 R2 through Windows 7 without the need to install any framework beyond what comes out of the box in the OS. i.e. Just copy the EXE and run it.
And 2.0 is the last version of the framework still installable on Windows 98.
Unfortunately Windows 8 and 10 would need you to install the 3.5 framework (which supports running 2.0 apps... yeah, I know, confusing).
I used to write all my little command line utilities in this version (with a theoretical exception if there was a really pressing need for new language features, but that didn't tend to occur for those kind of utilities).
Of course not as lightweight as a Russinovich or Sofer style single-EXE done in C or whatever, but if you're using NET Framework it's not a bad choice of version.
- brtkdotse 6y agoIt’s not .Net 2.0, it’s .Net _Standard_ 2.0 ¯\_(ツ)_/¯
- rkagerer 6y agoWhoops! Nevermind. Thanks for catching my mistake.
- brtkdotse 6y agoIt's even better, you can build it on Linux/MacOS now.
- rkagerer 6y agoYeah I'm excited about that. In terms of build targets, any idea how far back you will find platforms that run the native executables? This talks about RID's: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog https://docs.microsoft.com/en-us/dotnet/core/rid-catalog EDIT: Looks like Win 7 SP1 is the earliest supported by .NET Core: https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=netcore31#dependencies https://docs.microsoft.com/en-us/dotnet/core/install/windows...
- muststopmyths 6y agoDoes it emulate support for ANSI sequences on Windows < 10 ? Edit: to clarify, I'm curious as to how it works.
- happypatrik 6y agoIt depends since it's really up to the terminal. If the terminal don't support ANSI escape sequences, Spectre.Console will fall back to using the System.Console API with the standard 4-bit color palette. Everything will continue working, but less pretty of course.