I’m trying to port a Delphi project to .Net and as the Oxygene compiler looks promising, I setup a project in Visual Studio where I’m referencing one unit for a start.
As I expected, it does not compile “out of the box”, there are a few options to activate in project options.
However, the most common error is where it complains about unknown namespaces in the
uses section, most notably for Delphi’s own RTL units.
As indicated on your “Escape from Delphi” page, there is a project at GitHub that aims at providing those missing units: https://github.com/remobjects/DelphiRTL
I have cloned that repository locally and have added the DelphiRTL.shared.elements project to my solution, but this did not help with the “uses” errors.
What did I miss?
My ultimate goal here is to avoid changing the original code as much as possible.