0

I would like to get the version in a DotNetNuke Module. I try:

new ModuleController().GetModule(this.ModuleId).ModuleVersion

but its always -1.

On the .dnn file I have this definition:

<package name="xxxx" type="Module" version="02.01.88">

How could I get the "02.01.88" string?

Erick Lanford Xenes
  • 1,467
  • 2
  • 20
  • 34

1 Answers1

2

I just found that we could use:

new ModuleController().GetModule(this.ModuleId).DesktopModule.Version
Erick Lanford Xenes
  • 1,467
  • 2
  • 20
  • 34