Mismatch between Processor Architectures

Asked

Viewed 62 times

0

I am completely new to the world of mobile application development. By trying to run a test application I get this error twice:

There was a Mismatch between the Processor Architecture of the project being built "MSIL" and the Processor Architecture of the Reference "C: Windows Microsoft.NET Framework v4.0.30319 mscorlib.dll", "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. Testmobile.Core
Mismatch MSIL x86

I am using VS2015, I have the . NET 4.5 installed, windows 8 SDK tools and Multilingualapptoolkit.

I already checked in the manager Configuration and everything seems to be ok, target Platform "Any CPU".

  • Somewhere you should have a specific platform. But it won’t make a difference to what you want. You can’t use . Net to develop for Android. You can use Mono, which is similar but not the same thing.

  • Exactly, with Xamarin it is possible, but MSIL should always be used as Any CPU and in the Xamarin project specify the platform processor, if necessary. The tool itself makes the necessary changes to the specific processor/platform execution.

  • To develop . Net with C# you need Xamarin. Maybe the companion has not installed Xamarin for VS, the same can be installed from the installation of VS2015.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.