> This feature is probably a big thing for .NET developer productivity. It's quite a shame, that it only came now.
I am using https://github.com/dotnet-script/dotnet-script without any issues. Skipping an extra step would be cool though.
I am using https://github.com/dotnet-script/dotnet-script without any issues. Skipping an extra step would be cool though.
But then each script has an individual list of dependencies so there should be no need for further scoping like in npm (as in, the compilation of the script is always scoped behind the scenes). In this regard, both should be similar to https://docs.astral.sh/uv/guides/scripts/#declaring-script-d... which I absolutely love.
https://learn.microsoft.com/en-us/dotnet/core/tools/global-t...
dotnet script ../../../../../scrips/scaffold-something.cs
With npm run it works from any subdirectory: npm run scaffold-something