Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andix
6 months ago
|
parent
|
context
|
favorite
| on:
Run a C# file directly using dotnet run app.cs
Sure, but I think you still need to provide the full path of the script. If you're inside a source folder very deep it will lead to something like:
dotnet script ../../../../../scrips/scaffold-something.cs
With npm run it works from any subdirectory:
npm run scaffold-something
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: