Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processor architecture mismatch. MSIL and AMD64 #299

Open
shpaass opened this issue Sep 19, 2024 · 1 comment · May be fixed by #302
Open

Processor architecture mismatch. MSIL and AMD64 #299

shpaass opened this issue Sep 19, 2024 · 1 comment · May be fixed by #302
Labels
bug Something isn't working

Comments

@shpaass
Copy link
Owner

shpaass commented Sep 19, 2024

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 #191.

@shpaass shpaass added the bug Something isn't working label Sep 20, 2024
Dorus added a commit to Dorus/yafc-ce that referenced this issue Sep 20, 2024
@Dorus Dorus linked a pull request Sep 20, 2024 that will close this issue
Dorus added a commit to Dorus/yafc-ce that referenced this issue Sep 23, 2024
Dorus added a commit to Dorus/yafc-ce that referenced this issue Sep 23, 2024
Dorus added a commit to Dorus/yafc-ce that referenced this issue Sep 23, 2024
fixes shpaass#299

Move from any cpu to specific platforms since we use dlls that do not
support any cpu.
Set build script to specific platforms.
Set gitup action: dotnet test to x64 specifically since arm64 wont run on github.
Dorus added a commit to Dorus/yafc-ce that referenced this issue Sep 23, 2024
fixes shpaass#299

Move from any cpu to specific platforms since we use dlls that do not
support any cpu.
Set build script to specific platforms.
Set github action: dotnet test to x64 specifically since arm64 wont run on github.
@skullbearer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants