Edit

Share via


MSB4107 diagnostic code

This article describes the MSB4107 error code.

Message text

MSB4107: Expected an item list at position 'value' in condition 'value'. Did you forget the opening parenthesis after the '@'? To use a literal '@', use '%40' instead.

Description

This error occurs when MSBuild tries to parse the syntax for an item list, but the syntax is incorrect. The correct syntax for an item list is @(ItemList). See MSBuild items.

Resolution

Correct the syntax and try building again.

Applies to

All versions of MSBuild