Show/Hide Toolbars

XSharp

Runs the lexer and preprocessor on the source files

Syntax

-lexonly[+|-]

Arguments

+ | - Specifying +, or just -lexonly, tells the compiler to only lex the source code and not to parse, bind and generate an output file.
When combined with The -ppo option then there will be .ppo files written.

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