dotnet-script
Squirrel
Our great sponsors
dotnet-script | Squirrel | |
---|---|---|
20 | 37 | |
2,585 | 7,146 | |
1.1% | 0.7% | |
6.6 | 6.0 | |
4 months ago | 3 months ago | |
C# | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotnet-script
-
Google ZX – A tool for writing better scripts
Especially because these languages are only one package/install away and not two. I don‘t really get for which audience is targeted here. Usage in JS projects maybe, but then why not write it as npm tasks. ..
I‘m playing around with dotnet-scripts [1] at the moment (C# shop mainly) and this has the same issue imho. The reason why I looked into it was because we have developers not accustomed to bash etc. I still find it silly and would rather use ruby so…
-
Simple PowerShell things allowing you to dig a bit deeper than usual
>making powershell actually enjoyable to use
My solution was to stop using it and instead use dotnet-script
https://github.com/dotnet-script/dotnet-script
Scripting with the full power of modern C# has been a huge win for me. And same/similar scripts will work on Windows/Linux/Mac. As my work language is C#, I don't have to context switch to another language for scripting.
-
REST API using C# .NET 7 with MySql
I usually create a container that has all database migrations and tool to execute those migrations. I name migrations as [yyyyMMdd-HHmm-migration-name.sql] but please feel free to use any naming scheme, keep in mind how the tool would order multiple files to run those migrations. I have also added a wait-for-db.csx file that I would use as the entry point for database migrations container. This is a dotnet-script file and would be run using dotnet-script. I have pinned the versions that are compatible with .net sdk 3.1 as this the version roundhouse is build against at the time of writing.
-
Is it possible to create executable from file instead of project, like java or go?
thanks, this is very good idea too, and with dotnet-script we can publish executable out of the script!
-
dotnet script script.cxs says no dotnet found
It sounds like this is feedback for the author of the dotnet script tool: https://github.com/dotnet-script/dotnet-script
- Administrative Scripting with Julia
-
C# vs Python
Yes, you can have single-file scripts too. There might be more options to achieve this, but the one that I use is running *.csx files via the dotnet-script (https://github.com/dotnet-script/dotnet-script).
-
Why Functional Programming Should Be the Future of Software
I do agree.
I think .Net has got it right. And dotnet-script [https://github.com/dotnet-script/dotnet-script] has been a game-changer for me with a REPL-like experience for unit testing and writing command-line utilities.
- Is PowerShell scripting worth learning?
- What is the/your current/popular choice for dotnet c# scripting ?
Squirrel
-
ClickOnce
I never had much luck with ClickOnce, so I was using Squirrel.Windows. I've recently switched to the Clowd.Squirrel fork, since I needed support for AzureSignTool in the build process.
-
Any sufficiently advanced uninstaller is indistinguishable from malware
As soon as Office 2007 didn't use MSI the format was doomed.
I assume the Here in NIH refers to an individual team, not MS as a whole.
Teams is entirely NIH https://github.com/Squirrel/Squirrel.Windows for updates to the Electron app.
I would use winget, but MS made it weirdly hard to run as a script on multiple computers, it installs per user, because... who knows.
So still using chocolatey
-
Thanks, log
Back in the day, wasn't Discord installed using Squirrel?
- C# Windows desktop app - Best way to create an installer and auto-updater?
-
In the year 2023, what is the best way to deploy/distribute a WPF Application?
Originally, we used to use Squirrel.Windows for our internal applications but we had a few issues with it before we finally dropped it.
-
WinForms Application Updater
The most viable option with the path of least resistance would be Squirrel.Windows as it is both and installer and updater but has some caveats (SemVer pattern must be followed).
-
[ClickOnce] How to get rid of this message?
Maybe someone has a better ide, but this is one of many reasons why I'm trying to get all our old ClickOnce installers migrated to something else (I've heard good things about Squirrel.
-
Compose Multiplatform 1.2 Is Out: New Mouse and Keyboard APIs, ProGuard Support, Online Updates
Electron does have auto-update built in (Squirrel), but it comes with severe non-price related caveats. Squirrel is only intermittently maintained and goes through long periods in which the different versions are abandoned (see for Windows, macOS). People have requested a switch to Sparkle on macOS, which is what Conveyor uses, but with no response. There's also the issue that their update solutions require interactive servers but the only free one is restricted to open source projects, and isn't itself open source. The Electron website points you towards a variety of projects if you want to run your own server but all of them are (again) abandoned for years.
-
What is currently a good way to provide an installer for WPF application?
We replaced clickonce with https://github.com/Squirrel/Squirrel.Windows and are generally happy with the choice
-
How to disable discord from trying to update after reboot?
Discord in the Task Manager can sometimes show up as "Update", made by GitHub, because Discord uses a program, that GitHub / their devs were/are involved with making, to update the app, and some kind of bug happens that means it doesn't display as 'Discord'.
What are some alternatives?
.NET-Obfuscator - Lists of .NET Obfuscator (Free, Freemium, Paid and Open Source )
AutoUpdater.NET - AutoUpdater.NET is a class library that allows .NET developers to easily add auto update functionality to their classic desktop application projects.
cs-script - C# scripting platform
Wix Toolset
ScriptCS - Write C# apps with a text editor, nuget and the power of Roslyn!
Chocolatey - Chocolatey - the package manager for Windows
omnisharp-vim - Vim omnicompletion (intellisense) and more for C#
Clowd.Squirrel - Quick and easy installer and automatic updates for cross-platform dotnet applications
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
NetSparkle - NetSparkle is a C# cross-platform software update framework for .NET developers compatible with .NET 4.6.2/.NET 6+, WinForms, WPF, and Avalonia; uses Ed25519 or DSA signatures! View basic usage here in the README or visit our website for code docs.
wixsharp - Framework for building a complete MSI or WiX source code by using script files written with C# syntax.