If the Processor Architecture does not match the Runtime Architecture of the dotnet tooling an invalid runtime will be selected by for the compiled runtime assets for SkiaSharp
What is the new behavior?
If there is a mismatch on Windows where the Processor is x86 and the runtime is x64 we will now raise a build error letting you know that the environment is not valid. This includes a check for AMD64 so that we normalize this value allowing the check to pass for x64 since the two are compatible.
There's no obvious way to determine which architecture will be used by msbuild at this point. We'll revisit this in the future if the error becomes more common.
Fixes: #
PR Type
What kind of change does this PR introduce?
What is the current behavior?
If the Processor Architecture does not match the Runtime Architecture of the dotnet tooling an invalid runtime will be selected by for the compiled runtime assets for SkiaSharp
What is the new behavior?
If there is a mismatch on Windows where the Processor is x86 and the runtime is x64 we will now raise a build error letting you know that the environment is not valid. This includes a check for
AMD64
so that we normalize this value allowing the check to pass forx64
since the two are compatible.