"Referenced assembly targets a different processor" warning when compiling game for 32-bit processors
I have a .NET 6 game that is using the Steamworks.NET Nuget package version 20.1.0. When I build my game for 32-bit processors, I get the following warning:
CSC : warning CS8012: Referenced assembly 'Steamworks.NET, Version=20.1.0.0, Culture=neutral, PublicKeyToken=null' targets a different processor.
Does the Nuget package only support 64-bit? Can it be made to support 32-bit as well?
And when trying to actually run under a 32-bit CPU, I get this runtime error:
Exception Info: System.IO.FileLoadException: Could not load file or assembly 'Steamworks.NET, Version=20.1.0.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)