Xamarin.MediaGallery icon indicating copy to clipboard operation
Xamarin.MediaGallery copied to clipboard

Support for UWP

Open Brosten opened this issue 3 years ago • 4 comments

Summary

I guess thi title says it all :)

Brosten avatar Apr 29 '21 07:04 Brosten

If someone wants to add the implementation for UWP, you can take the code from my pull request in Essentials

dimonovdd avatar May 06 '21 17:05 dimonovdd

I wouldn't mind taking a stab at this, would need some points re getting the multi-targeting set up correctly. I've tried getting the sample running in VS2022 17.1.0 Preview 5 without much success :(

Package Xamarin.MediaGallery.Permision.Maui 2.0.0 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0) / win. Package Xamarin.MediaGallery.Permision.Maui 2.0.0 supports:
  - net6.0 (.NETCoreApp,Version=v6.0)
  - net6.0-android31.0 (.NETCoreApp,Version=v6.0)
  - net6.0-ios15.0 (.NETCoreApp,Version=v6.0)
  - Sample.iOS	D:\Chris\Code\Xamarin.MediaGallery\Sample\Xamarin\Sample.iOS\Sample.iOS.csproj

chowarth avatar Feb 15 '22 20:02 chowarth

@chowarth Hi, thanks

I honestly have never run it on Windows. I work on a Mac.

And now I can also work with this project only through Msbuild. MAUI support has greatly complicated the development

https://developercommunity.visualstudio.com/t/SDK-not-found-MSBuildSdkExtras/1648593?from=email&space=41&q=sdk+not+found

dimonovdd avatar Feb 15 '22 23:02 dimonovdd

I get the feeling that the Xamarin.MediaGallery.targets isn't working properly given that the error is saying that Xamarin.MediaGallery.Permission.Maui is not compatible with Sample.iOS.csproj - this makes sense as it is a Xamarin.Forms sample project.

chowarth avatar Feb 16 '22 08:02 chowarth