Search code examples
msbuildmsbuild-taskgenexus

GeneXus: How to export properties of Knowledge Base / Version / Generators / Environments with an MSBUILD task?


It is easy to export the KB properties to a file with the Genexus IDE.

Is it possible to do the same using MSBUILD tasks?


Solution

  • Currently this is not fully supported. The Export MSBuild task lacks the necessary properties to allow stating that KB, version or environment properties should be exported.

    There are several getter properties tasks, that allow reading single properties for different elements, although it's cumbersome to use them to export all properties of a given element.

    As of build 161356 of the beta channel, it's possible to set the boolean properties ExportKBProperties, ExportVersionProperties and ExportEnvironmentProperties in the Export MSBuild task, in order to export those kind of properties.