Whenever I try to archive my android project into an APK, I get this warning which prevents me from archiving:
Package 'Plugin.MediaManager 0.4.51' was restored using '.NETFramework version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.01. This package may not be fully compatible with your project.
The project builds just fine. Any ideas? The plugin I'm using 'Plugin.MediaManager' is essential and I need it in my project.
Thanks
Answers
According to the plugin's page, the package is currently not compatible with netstandard projects.
https://github.com/martijn00/XamarinMediaManager
I don't understand, how come the app builds and runs fine on a simulator? I'm new to app development.
Builds and runs fine
doesn't mean that you can use it in.NETStandard
project, it only supports PCL project until now.It seems the supporting works for
.NETStandard
is in progress .Refer https://github.com/martijn00/XamarinMediaManager/issues/403.
So is there anyway I can use this plugin to build an Android app? I have the plugin on my iOS app and I managed to create an IPA
Some PCL libs work fine on netstandard project, for example, Ninject 3.3.4 netstandard lib doesn't work for iOS as it uses System.Reflection.Emit (iOS is AOT, so... no
), but adding back the PCL libs works fine even receiving the message "This package may not be fully compatible with your project.".