Performs a syntax check on the input files only. Does not produce the output exe, dll or pdb
-parseonly[+|-]
+ | - | 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. |
This command line option allows you to check the code without generating a binary.
1.Open the project's Properties page.
2.Click the Build property page.
3.Add the option in the "Extra Command Line options" property