Warning 1 There was a mismatch between the processor architecture of the project being built “MSIL” and the processor architecture of the reference

Warning 1 There was a mismatch between the processor architecture of the project being built “MSIL” and the processor architecture of the reference

this is my warning message when i try to run my program

Warning 1 There was a mismatch between the processor architecture of the project being built “MSIL” and the processor architecture of the reference “Oracle.DataAccess, Version=2.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=AMD64”, “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. ConsoleApplication2

as this warning said. we need to avoid this miss match configuration. so simply adjusting the build configuration may solve this warning problem

visual studio properties

visual studio properties2

Leave a Reply

Your email address will not be published. Required fields are marked *