Check for following warning:
2. Warning 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "CECIIR", "x86". 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. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578
Go to Configuration manager and set target platform as "any CPU"
No comments:
Post a Comment