Show/Hide Toolbars

XSharp

Tells the compiler to write abstract syntax trees for each of the source files that was processed.

Syntax

-ast[+|-]

Arguments

+ | - Specifying +, or just -ast, tells the compiler to produce abstract syntax trees for each of the source files.

Remarks

This command line option allows you to check the code without generating a binary.

 

To set this compiler option in the Visual Studio development environment:

 

1.Open the project's Properties page.

2.Click the Build tab.

3.Add the option in the "Extra Command Line options" property