Comments (3)
I would like you to not drop it if possible. PowerShell 5.1 depends on it. If you want Spectre.Console still work there - it's the only way to preserve it. It's similar to:
from spectre.console.
Wouldn't it work in AOT mode in those cases, since you would not be framework dependent while also not having to ship the runtime with each app?
from spectre.console.
No. That's not how PowerShell modules calls it. They call directly DLL, so while your app with AOT may work in PowerSheell console, it won't work if you have PowerShell module which calls SpecteConsole methods.
And to be honest I am not 100% sure net standard 2.0 will help. I still use net framework 4.7 in https://github.com/EvotecIT/ConsoleMonster as sometimes for whatever reason the dependency hell kicks in and things just don't work. The other project https://github.com/ShaunLawrie/PwshSpectreConsole calls netstandard2.0 directly https://github.com/ShaunLawrie/PwshSpectreConsole/blob/df3a470a6ffe8b10739b6a00b3149e7fca343c58/PwshSpectreConsole/PwshSpectreConsole.psd1#L57C1-L61C93
So this may work for Spectre.Console, but I know that in other cases I have to resort to 4.7.2 in PowerShell 5.1 for it to work, as it starts throwing errors for whatever reason otherwise.
So if you can please preserver net standard 2.0, and hopefully it can be brought back for Spectre.Console.ImageSharp, because without it, the projects in PowerShell 5.1 are dead. I know I can't make you to retain 4.7.2 as it was dropped a while ago Net Standard 2.0 is the only thing that keeps PS 5.1 alive, and Microsoft intended to keep it till 2027 at least. Until Microsoft pushes PowerShell 7, as default to Windows, majority of companies will stay on PS 5.1
from spectre.console.
Related Issues (20)
- AddDelegate produces a MissingMethodException HOT 5
- Allow option to clear text after textprompt is answered
- Top Issues Dashboard
- Remove System.Memory dependency from net 6+ HOT 3
- Implement fixed-size log-text area for `ProgressTask` HOT 5
- Progress update causes heavy flickering (regression from 0.47.0 to 0.48.0) HOT 2
- Release a new version with support for InterceptResult as described in documentation HOT 1
- Sixlabors ImageSharp 3.X?
- Add interactive input fields HOT 1
- Built-in parameter `--version` conflicts with existing one HOT 9
- `ExplainCommand+Settings` ctor fails `ServiceProvider.ValidateService` HOT 1
- Bad rendering for table live display / hidden table headers / no border and forced refresh
- Search doesn't work properly in selection prompts HOT 1
- Add paging function to selection prompt
- Fill entire background with custom color
- Unable to redirect output to file HOT 1
- More control over output - padding HOT 2
- Allow for a custom search filtering function for the SelectionPrompt
- Allow for multiple matching search result items with the SelectionPrompt
- Add '-?' as an additional alias for '-h' and '--help', just like 'dotnet -?' HOT 4
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 spectre.console.