You need to add a reference to Mono.Android.Export.Dll when you use ExportAttribute or ExportFieldAttribute
Asked 07 September, 2021
Viewed 2.7K times
  • 64
Votes

My code works fine, but when I added fragments with a new namespace to the project, I began getting the error


  

You need to add a reference to Mono.Android.Export.Dll when you use ExportAttribute or ExportFieldAttribute

I've searched online and found several mentions of unlinking assemblies, but I've also read that this will cause additional errors.

Does anyone know how to solve this bug?

4 Answer