Edit

Share via


MSB4185 diagnostic code

This article describes the MSB4185 error code.

Message text

MSB4185: The function 'value' on type 'value' is not available for execution as an MSBuild property function.

Description

This error occurs when a property function is used that is not supported by MSBuild.

Resolution

First, check for typos or misspellings in the property function mentioned in the error message.

The problem could occur if the project is using functionality that was added in a newer version of MSBuild, but you're building with an older version. Install the latest version of Visual Studio or MSBuild and try building again. See Install Visual Studio and MSBuild - Install MSBuild.

Applies to

All versions of MSBuild