avc81's picture

.net 4.0

Is it possible to integrate an opentk based rendering engine in an application targetting .net 4.0?




Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Yes. You can either recompile OpenTK for .Net 4.0 or you can consume the 2.0 binary as-is.

To recompile:

  1. open OpenTK.sln and add "NET40" to the project definitions.
  2. change the target framework from 2.0 to 4.0

Repeat for OpenTK.GLControl and OpenTK.Compatibility if you use those.

avc81's picture

thank u very much
Have u noticed some performance improvements switching from 2.0 to 4.0 ?

the Fiddler's picture

I haven't made any performance tests, since I don't have a 4.0-capable Mono installation yet (stuck with Mono 2.6, should upgrade to 2.10 once that is released).