I'm making a server for a multiplayer game in C# that at some point I'd like to run on a linux machine.
But before deploying it in this fashion I'd like to make a windows launcher using WinForm.
I've put my game code in a .Net5 project and it use amongst other things "Microsoft.Extensions.Hosting".
I can't reference that project from my launcher project since it is a .NetFramework
From the multiple search hit I've found, I understand that my game library should target .NetStandard instead to be agnostic.
But I've not found how to do so in visual studio 2019. I've tried modifying the .csproj TargetFramework Node (since using the interface the option doesn't show) but then I get lots of errors (for instance not finding "Microsoft.Extensions.Hosting").
I've also seen the suggestion to make the library target multiple framework, but I don't understand how to setup this in vs2019.
I'm confused as to whether what I am doing is feasible, it feels like it should be easy, but may not?