The NatNetML.dll that ships with the NatNet SDK v4.0.0 is targeting .NET Framework v4.03.
Is it possible to provide a version that is binary compatible with .NET 6.0 or .NET Core?
The .NET Framework dll does not seem to be binary compatible with these.
NatNetML for modern version of .NET
Re: NatNetML for modern version of .NET
The issue was only with single file deployment. When I exclude NatNetML from it then everything works fine.