diff --git a/src/Generator.Rewrite/OpenTKAssemblyResolver.cs b/src/Generator.Rewrite/OpenTKAssemblyResolver.cs index 092cf84c..61f32a2e 100644 --- a/src/Generator.Rewrite/OpenTKAssemblyResolver.cs +++ b/src/Generator.Rewrite/OpenTKAssemblyResolver.cs @@ -53,7 +53,14 @@ namespace OpenTK.Rewrite var framework_dir = Path.GetDirectoryName(typeof(object).Module.FullyQualifiedName); var framework_dirs = on_mono - ? new[] { framework_dir, Path.Combine(framework_dir, "Facades") } + ? new[] + { + framework_dir, + Path.Combine(framework_dir, "Facades"), + "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS", + "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades", + "/Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1" + } : new[] { framework_dir }; if (IsZero(name.Version)) diff --git a/src/OpenTK/OpenTK.iOS.csproj b/src/OpenTK/OpenTK.iOS.csproj index efc9795e..621534eb 100644 --- a/src/OpenTK/OpenTK.iOS.csproj +++ b/src/OpenTK/OpenTK.iOS.csproj @@ -247,10 +247,10 @@ --> - - - - + + + +