Nix-shell shebang: Difference between revisions
m →C#: They improved the CLI in preview 6 |
→C#: Add EntryPointFileDirectoryPath to sample, new in preview 6 |
||
| Line 46: | Line 46: | ||
using Humanizer; | using Humanizer; | ||
Environment.CurrentDirectory = (string) AppContext.GetData("EntryPointFileDirectoryPath")!; // equivalent of `cd $(dirname $0)` | |||
var dotNet9Released = DateTimeOffset.Parse("2024-12-03"); | var dotNet9Released = DateTimeOffset.Parse("2024-12-03"); | ||