To Solve: AMD64. This mismatch may cause runtime failures.
Full Error:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built “MSIL” and the processor architecture of the reference “CitizenFX.Core”, “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.
Yeah not much you can do about that one. The CFX server and client dll’s were generated targeting AMD64 processors/architecture, instead of for “Any” processor. All you can really do is ignore the warning and make sure your compiler is set for “Any” or it’s equivalent.
Hits: 5