MSB4186诊断代码

本文介绍MSB4186错误代码。

消息文本

MSB4186: Invalid static method invocation syntax: 'value'. 'value' Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order.

适用对象

MSBuild 的所有版本