Edit

Share via


MSB4184 diagnostic code

This article describes the MSB4184 error code.

Message text

MSB4184: The expression 'value' cannot be evaluated.

Description

The standard output message text is followed by the exception text from the underlying code, if any.

This error occurs if MSBuild can't interpret an expression found in a project file or an imported file. For example, if the project file contains invalid elements or values, you might get this error.

Resolution

Look to the exception message provided by the underlying code to determine the cause of the problem.

Check the syntax of the code that resulted in the error.

Applies to

All versions of MSBuild