arannya
(MacOS) How do I hot reload a C# project dll that is being used in a different app?
Hi guys, I'm making a mod for Stardew Valley using Rider on MacOS (M2 Pro). These mods are loaded as DLLs by the Stardew Valley executable. The VS Code/VS for Mac debuggers are bugged on arm64 so they don't even attach to the executable. However, attach to process works on Rider so I'm using that. The hot reload feature doesn't work. I wanted to see if dotnet watch works but it seems that hot reload only works on the 'dotnet watch run' command. However you cannot specify different watch and run targets for the command. So, in essence, you would need to have the game as your project but that's absurd because we don't have the game code. Is there a workaround I'm missing?
18 replies