Loading dynamic libraries for different platforms and architectures

Just trying this out and the following line:

if (Target.Architecture.ToLower().Contains("arm64"))

generates an error while building the solution (or in my case the Xcode project files):

error CS7036: There is no argument given that corresponds to the required formal parameter ‘destination’ of ‘MemoryExtensions.ToLower(ReadOnlySpan, Span, CultureInfo?)’

That doesn’t seem right me to me :slight_smile:

Is this something you’ve seen, or know what the issue may be? Is this the variable type issue you referred to? I’m working with a source build of 5.3.2 on Mac arm64.

Thanks again for your time.

1 Like