Nix-shell shebang: Difference between revisions
→C#: New section |
m →C#: They improved the CLI in preview 6 |
||
| Line 36: | Line 36: | ||
=== C# === | === C# === | ||
Using | Using file-based apps, new in .NET 10: | ||
<syntaxHighlight lang="csharp"> | <syntaxHighlight lang="csharp"> | ||
#!/usr/bin/env nix-shell | #!/usr/bin/env nix-shell | ||
/* | /* | ||
#! nix-shell -i | #! nix-shell -i dotnet -p dotnetCorePackages.dotnet_10.sdk | ||
*/ | */ | ||
#:package Humanizer@2.14.1 | #:package Humanizer@2.14.1 | ||