Could not load file or assembly Mono.Android (Not solved)

I need to publish my aplication to Play Store, but I couldn't build project in Release Mode to archieve it.
The exception bellow is raised:

Message:
Error Cannot register assembly "". Could not load file or assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies.

This exception occurs only in Release mode. In Debug mode, build runs correctly.

I already executed:
* Clean and Rebuild solution
* Clean and Rebuild each project separately
* Delete bin and obj folders and rebuild
* Update all packages of solution and rebuild
* Consolidate all packages and rebuild
* Referenced mono.android.dll directly from the folder "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v8.0\" and rebuild

Nothing worked for me.

There are some topics related here, however, many had no answer and those who had the answers did not help me.

The next step I'll do is install VS 2017.

My configurations:
IDE:
Visual Studio 2015 Version 14.0.25431.01 Update 3
Xamarin 4.7.10.38
Xamarin.Android 8.0.2.1

Project:
Target framework: Use Latest Platform (Android 8.0 (Oreo))
Minimum Android Version: Use compile using SDK version
Target Android version: Use compile using SDK version

Was someone lucky to solve this?

Please, I need help!

Posts

  • I've tried many paths without success, please can anyone help me?

  • I have the same problem and i could not fix it. We need help.

  • Kiran1024Kiran1024 Member ✭✭

    Hi,
    I am also facing same problem ,you people find any solution, please share solution ,need help.thanks in advance.

Sign In or Register to comment.