i
This document refers to an older version. GeneXus 16 is our latest version.

Extensions and Patterns Compatibility in GeneXus 15

Official Content

The compatibility level has been updated; all extensions and patterns must be recompiled.

The Package compatibility Number changed to 96640, Assembly version changed to 11.*, File and product version changed to 15.*.

The following is important for those who extend GeneXus:

  • Visual Studio 2015 (any edition) is required 
  • All packages are required to be rebuilt
  • Target framework must be now 4.6.
  • Artech.Common.WeakReference<T> has been deprecated. If you wrote something like this:
WeakReference<KBObject> wref = ....
KBObject obj = wref.Target;
if (obj != null) {
    // obj is usable because it was not deleted
}


you now must write something like:

WeakReference<KBObject> wref = ....
KBObject obj;
if (wref.TryGetTarget(out obj)) {
    // obj is usable because it was not deleted
}


Another option, if you still include Artech.Common is:

WeakReference<KBObject> wref = ....
KBObject obj = wref.GetTarget();
if (obj != null) {
    // obj is usable because it was not deleted
}


Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.