seanquijote
seanquijote

Reputation: 159

UWP VS2017 - Xaml Internal Error error WMC9999: This Member 'Value' has more than one item, use the Items property

I'm currently encountering this error during compile time, but this error didn't occur before.

C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\XamlCompiler\
Microsoft.Windows.UI.Xaml.Common.targets(308,5): Xaml Internal Error error 
WMC9999: This Member 'Value' has more than one item, use the Items property

I checked the .csproj file, and line 308 in Microsoft.Windows.UI.Xaml.Common.targetsfile but no luck.

My Target version: Windows 10, version 1809(10.0; Build 17763)

My Min version: Windows 10 Fall Creators Update(10.0; 16299)

Did anyone encounter this error?

Upvotes: 0

Views: 938

Answers (1)

Martin Zikmund
Martin Zikmund

Reputation: 39092

Although the error is quite cryptic, this is in fact an error in one of your XAML files. You can find a similar issue here. So try to look through the XAML files you have edited recently and search for any characters which are out of place. Especially focus on elements which have a Value property as well as an Items property.

You should identify the bug by finding the right XAML - if the designer crashes and displays some cryptic error message as well - then this file is probably the culprit.

Upvotes: 3

Related Questions