Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

portable project openTK

$
0
0

Hi Guys,

im using visual studio but created a BlankApp (Xamarin.Forms Portable) which created 4 projects.

now ive included the OpenGLView in a xaml file in the portable project and im trying to use OpenTK-1.0

on iOS it complained about not finding openTK, the solution/workaround i found was to include the OpenTK-1.0.dll.config

from here my problem is simple, GL.CreateShader(type) in my portable projects xaml cs file fails to find the function CreateShader when running on iOS even after a successful build

it does however successfully finds it if i run that command in the iOS project....

is there some strange linking im supposed to do with this to get it to work? should i have created a Xamarin.Forms shared project?

basically it seems that a few libraries dont seem to work properly when in the Portable project...

any information would be great :)
kind regards
Robert


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>