Can XML Documentation be used with runtime-packages

143 Views Asked by At

I'm working on a new project with Delphi 10.2 Tokyo, where I would like to use Runtime Packages to give other developers the possibility to use parts of my code in their own projects. So I created a Runtime Package and used it in another Delphi VCL project via the "Runtime-Packages" option to test if everything works as expected. Technically, it works, but in my code I have some XML Documentation:

http://docwiki.embarcadero.com/RADStudio/en/XML_Documentation_Comments

Inside the Package, everything works as expected. If the source is compiled and used in another application, the XML Documentation is gone. I also enabled creating XML Documentation in the Compiler options, and set the Output folder to the same folder as the BPLs. Here is some demo code that works correctly:

unit unit1;

interface

type
/// <summary> Represents a Democlass
/// </summary>
  TDemo = class
    // ...
end;

implementation

var
  Demo : TDemo;

I have searched the web for some time, but cannot find anything near my problem. I hope there is a solutions for that, or at least a good answer why it could not work.

0

There are 0 best solutions below