我在 Visual Studio 2010 和 .net framework 4.0 中遇到此错误。
无法看到任何相关的解决方案,尤其是在 VS2010 中。
任何意见/建议请。
错误 MSB4018:“”任务意外失败
错误 MSB4018:System.FormatException:输入字符串的格式不正确。
错误 MSB4018:在 System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
错误 MSB4018:在 System.String.Format(IFormatProvider provider, String format, Object[] args)
...
...
...
最佳答案
这是我们代码中的一个错误。将在下一个版本中修复。请查看 here帮助解决它。
What a stupid bug. I have logged it for v4.0. The only workaround I can find short of removing IgnoreStandardErrorWarningFormat is to add a CustomWarningRegularExpression like
.*{.*
so that you get warnings instead of errors or a crash.
关于visual-studio-2010 - 错误 MSB4018 : The "<exec>" task failed unexpectedly,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6705574/