I have all the pieces in place:
- Synology NAS
- C# Console app written with .NET 7
- An internet connection
I have the internet connected to my NAS. Now how do I get my console application on it and run it?
I have all the pieces in place:
I have the internet connected to my NAS. Now how do I get my console application on it and run it?
Install the Mono package using the package manager. Then you should be able to copy your application to the NAS and run it in a terminal.
I don’t think you need mono. Net 7 can complete for Linux natively.
This is a bit outdated with .NET Core. You can just compile it for a Linux target or install the .NET runtime from Microsoft.
I’m not sure Mono supports all the newer language features.
Unless they’ve updated it since I last checked, it does not. I remember it being stuck on C# 7 or so, with limited C# 8 features. Or maybe it was C# 6 with limited C# 7 features. Either way, we’re looking at C# 12 coming out sometime soon.