fsprojects / Interstellar

Cross-platform desktop apps in F# using web tech - https://www.nuget.org/packages/Interstellar.Core/
https://fsprojects.github.io/Interstellar/
MIT License
43 stars 13 forks source link

Cannot use Interstellar from Xamarin.Mac full-framework app #17

Closed jwosty closed 2 years ago

jwosty commented 3 years ago

Steps to reproduce:

  1. Create new Xamarin.Mac application
  2. Reference Interstellar.macOS.WebKit package from NuGet with your package manager of choice
  3. Change the application to use Xamarin.Mac Full Framework instead of "Modern"

And observe that code that references Interstellar will not compile.

It appears that there will have to be two versions of the macOS/WebKit implementation library; one for Xamarin.Mac FullFramework; and one for Xamarin.Mac Modern. Interstellar.macOS.WebKit is currently implicity Xamarin.Mac Modern only.

jwosty commented 3 years ago

Possibly related to the following S/O question: https://stackoverflow.com/questions/65927140/cannot-reference-a-xamarin-mac-library-which-is-targetting-xamarin-mac-full