In 2021, Microsoft introduced compiler warnings if using .NET Remoting that you had to manually suppress: https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/5.0/remoting-apis-obsolete
Replacement: use WCF or HTTP REST