Show/Hide Toolbars

XSharp

Performs a syntax check on the input files only. Does not produce the output exe, dll or pdb

Syntax

-parseonly[+|-]

Arguments

+ | - Specifying +, or just -parseonly, tells the compiler to only parse the source code and not to not to 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