Thursday, November 20, 2008

Missing glbAppVersion in DotNetNuke

I was upgrading a module the other day, and was doing so on one of the newer DNN versions (4.9). I got the following error:
error CS0117: 'DotNetNuke.Common.Globals' does not contain a definition for 'glbAppVersion'

It turns out that somewhere along the line (I didn't bother tracking down where), they moved this to the "DotNetNuke.Common.Assembly" namespace.

Hope this post saves somebody else some time.

Wish I knew why these geniuses moved a common global variable, especially one like this - now you can't even safely write code to check what version you're running to determine where you've got to check for something... grumble, grumble...

Labels:

0 Comments:

Post a Comment

<< Home