Failure to build due to mimatch of processor architecture RRS feed

  • Question

  • I have 2 Xamarin forms applications which were both building and running fine. I have not changed them but a Windows 10 update was installed overnight and now the build of the PCL project for both applications are failing with the error

    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.   

    I am a bit confused about he referebce to V4.0.30319 as both projects are targetted on .Net 4.5 framework.

    How do I resolve this issue.


    Pat Moran

    Saturday, September 2, 2017 12:11 PM

All replies

  • Hi Pat Moran,

    Welcome to the MSDN forum.

    Refer to your description, your issue is about the Xamarin.Forms application development. Since our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://forums.xamarin.com/categories/visual-studio and start a new thread to seek for a more professional support.

    Sorry for this inconvenience and thank you for your understanding.

    Best regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, September 4, 2017 2:35 AM