shpaass / yafc-ce

Powerful Factorio calculator/analyser that works with mods
GNU General Public License v3.0
54 stars 20 forks source link

Processor architecture mismatch. MSIL and AMD64 #299

Open shpaass opened 2 weeks ago

shpaass commented 2 weeks ago

When running our usual dotnet format locally on Windows 11, I get a couple of similar warnings

There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "[...]\yafc-ce\Yafc.Parser\bin\Debug\net8.0\Yafc.Parser.dll", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.

It might be related to the changes that I did in the OSX PR https://github.com/shpaass/yafc-ce/pull/191/.

skullbearer commented 16 hours ago

On cpu-platform branch of Dorus/yafc-ce, running dotnet format produces no error or warning for me.