Reputation: 345
I chose Build -> Archive for publishing
and I am getting the following error
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2,2): Error: Could not load assembly ‘myapp, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? (myapp.Droid)
It was working earlier but now not anymore
Upvotes: 2
Views: 800
Reputation: 1083
I had the exact same scenario, the project used to archive but doesn't any longer, same OS, debug is also perfectly fine.
I found that I only had armeabi-v7a ticked, after ticking x86 it seemed to work.
Upvotes: 2
Reputation: 1481
Step1:
Change Linker Mode
Step2:
Delete obj & bin files in all platforms
Step3:
Rebuild your solution in Debug mode.
Step4:
Now put release mode then try maybe it will work for you
Upvotes: 1
Reputation: 174
You have to use the Release|AnyCPU when building the project instead of Release|ARM. That worked for me.
Upvotes: 0