Comment

Comment by intrasight

>referencing DLLs which is discouraged in modern .NET

You can't do much of anything in .NET without referencing Nuget assemblies.

> opaquely named directives like `#r` seems counter-productive

Then why is it the existing standard?

Agreeing with others, '#r "nuget:' should at least be an option. And otherwise (but I guess regarless if you stick with this syntax) you will have to add another tab to Nuget called "dotnet run". "Script & Interactive" is already present in Nuget and shows the #r syntax for a reference.

parent intrasight 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton