Oxygene Commandline Compiler

From RemObjects Software

Jump to: navigation, search

This is a general Oxygene topic
Feel free to add your notes to this topic below.


Oxygene provides the best developer experience when executed within an IDE such as Visual Studio, but it can also be used via the command line, both for general development and for integration with automated build environments.

The command line compiler for Oxygene is available as a free download, and requires no license for "Oxygene for Visual Studio" to be purchased. This also allows deployment of the compiler for use on ASP.NET web servers.


Oxygene.exe vs. MSBuild

There are two ways to run builds of Oxygene projects from the command line:

MSBuild

Since version 1.5 ('Floorshow'), Oxygene has provided support for MSBuild and project files are MSBuild compatible. This allows you to build any Oxygene project using the standard MSBuild infrastructure provided by Microsoft, as well as to build Oxygene projects from automated build solutions that support MSBuild.

The MSBuild engine is also used when building projects inside the Visual Studio IDE, and provides many benefits over the standalone Oxygene.exe command line compiler, most importantly the ability for projects to include custom MSBuild Targets to provide platform-specific extensions to the compile process, such as processing of WPF XAML files or Cocoa# interface files.

See MSBuild (Oxygene) for more details on using Oxygene with MSBuild.

Oxygene.exe

In addition to MSBuild, the Oxygene compiler is also available in form of the standalone Oxygene.exe compiler executable. Oxygene.exe can be used to build individual .pas files or .oxygene project files, and is a suitable solution for compiling projects that do not rely on custom MSBuild targets. (running Oxygene.exe on a project with custom targets will produce an error).

Introduced with the first version of the product, Oxygene.exe can build both MSBuild-format and old-style 1.0 format project files.

Oxygene.exe can also be used to run the compiler on .NET 1.1, Mono and Portable.NET, or on other platforms where MSBuild is not available.

See Oxygene.exe for more details on how to invoke the Oxygene command line compiler.

See Also


Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0 Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)

GlossaryKeywordsLanguage FeaturesPlatform FeaturesSamplesArticlesHow ToIssues

Personal tools