mhutch / MonoDevelop.MSBuildEditor

Improved MSBuild editing support
Other
215 stars 26 forks source link

Fix handling of significant whitespace #141

Open mhutch opened 7 months ago

mhutch commented 7 months ago

In #109 the parser was modified to ignore leading/trailing whitespace in expression text nodes.

However, this is not fully correct. It turns out that <Foo> true</foo> means that Condition="$(Foo)==true" is false.

Whether whitespace is stripped when validating known values may have to be specified on a per-property/item basis.