Rodl2code remoteRODL --platform:delphi generates sources that do not compile

The generated code from the rodl2code tool does not generate delphi code that compiles.
The generated code contains DataAbstract_Intf and PharmacyCloudService_Intf which are not in the uses list.

I have to comment out some lines each time I generate the files to have working code.

C:\Program Files (x86)\RemObjects Software\RemObjects SDK (Common)\Bin"\rodl2code PharmacyCloudService.remoteRODL --platform:delphi --type:intf --out:PharmacyCloudService_Intf.pas
Remoting SDK Service Interface Code Generator, based on CodeGen4 (GitHub - remobjects/CodeGen4: A Swift library tom generate source code for many languages)
Processing RODL file PharmacyCloudService.remoteRODL
Generating intf
Wrote file .\PharmacyCloudService_Intf.pas

{$IFDEF REMOVEDBYFV}

function DefaultNamespaces: String;
var
lres: String;
begin
lres := DefaultNamespace;
lres := (lres + ‘;’) + DataAbstract_Intf.DefaultNamespace;
lres := (lres + ‘;’) + DataAbstract_Simple_Intf.DefaultNamespace;
result := lres;
exit;
end;
{$ENDIF}

class function TLibraryAttributes.LibraryUID: String;
begin
result := ‘’; //REMOVEDBYFV PharmacyCloudService_Intf.LibraryUID;
exit;
end;

Note: This is with a .NET code first RO server and a delphi RO client. Both are v10.0.0.1521

Hi,

Can you share your .RODL that is generated by your .NET service, pls?
You can drop it to support@ for keeping privacy.

Logged as bugs://D19243.

bugs://D19243 was closed as fixed.