I'm creating a NuGet package using .Net Standard 2.0 with Xamarin, everything works great but now I need to create a Dependency Service that works with native code on iOS and Android, I can create the Interface but I can't create the implementation for iOS and Android because I don't have the iOS/Android project in my Solution.
There is a way to add i OS/Android solution so I can write my platform specific implementation? And how can I export it in my NuGet package?
Any help would be appreciated.
To export and iOS project as NuGet Package I've to go on Project->Options->NuGet Package->Build and check "Create a NuGet Package when building the Project".
I think this is the best solution.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.