Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/Conditional-processing-and-comment-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ In this sample, conditional expression is inside the comment `<!--` and `-->` in

#### File Extensions

`.*proj`, `.proj.user`, `.msbuild`, `.targets`, `.props`
`.*proj`, `.proj.user`, `.msbuild`, `.targets`, `.props`, `.slnx`

MSBuild files, in addition to the `#if`, `#else`, `#elseif`, `#endif` inside an xml type comment, a **Condition** expression could be added to an element.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ internal OperationConfigDefault(string glob, string flagPrefix, EvaluatorType ev
new OperationConfigDefault("**/*.xaml", "<!--", EvaluatorType.CPP, ConditionalType.Xml),
new OperationConfigDefault("**/*.axaml", "<!--", EvaluatorType.CPP, ConditionalType.Xml),
new OperationConfigDefault("**/*.sln", "#-", EvaluatorType.CPP, ConditionalType.HashSignLineComment),
new OperationConfigDefault("**/*.slnx", "#-", EvaluatorType.CPP, ConditionalType.Xml),
new OperationConfigDefault("**/*.slnx", "<!--/", EvaluatorType.MSBuild, ConditionalType.MSBuild),
new OperationConfigDefault("**/*.yaml", "#-", EvaluatorType.CPP, ConditionalType.HashSignLineComment),
new OperationConfigDefault("**/*.yml", "#-", EvaluatorType.CPP, ConditionalType.HashSignLineComment),
new OperationConfigDefault("**/Dockerfile", "#-", EvaluatorType.CPP, ConditionalType.HashSignLineComment),
Expand Down