Skip to content

Migrating to OpenTK 1.0

slygamer edited this page Feb 5, 2013 · 3 revisions

We are migrating the MonoGame project from OpenTK-0.9.9.3 to OpenTK-1.0 on iOS and Android. This also affects OUYA as it is derived from our Android platform. This change to OpenTK-1.0 brings with it a consistent OpenGL API with the desktop platforms, meaning less conditional code in the MonoGame codebase.

As part of the migration, there is a small reference change that needs to be made in your Android projects. iOS projects need no changes.

In Visual Studio

  • Open the References node in your project and delete the OpenTK reference.
  • Right-click the References node and select Add Reference....
  • Find OpenTK-1.0 in the Assemblies tab and add it as a reference.

In MonoDevelop

  • Right-click the References node and select Edit References.
  • Uncheck OpenTK.
  • Check OpenTK-1.0.

This should be all you need to do in your Android projects. Now you can build and deploy once again.

Clone this wiki locally