pavelliavonau/cmakeconverter

Crash on parsing <PrecompiledHeader> without Condition attr ($(Configuration)|$(Platform))

martin-s opened this issue · 4 comments

When a precompiled header element contains no condition, parser fails and aborts.

See example solution:
ConsoleApplication1.zip

<PrecompiledHeader>Create</PrecompiledHeader>

How did you create this example?
Provide the way of creating this without any manual editions. Use only Visual Studio UI.

To create the example, I edited it manually.

The issue is wrong then.
I'm not going to fix issues that appears with manual editing. There might be too many cases like this. Every xml should be validated with visual studio. Otherwise this bug is invalid.

Ok, I'm fine with that.