5
votes

i am getting this error with visual studio 2010 and .net framework 4.0. Not able to see any relevant solution for this especially with VS2010. any comments/suggestions pls.

error MSB4018: The "" task failed unexpectedly error MSB4018: System.FormatException: Input string was not in a correct format. error MSB4018: at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) error MSB4018: at System.String.Format(IFormatProvider provider, String format, Object[] args) ... ... ...

1

1 Answers

0
votes

This is a bug in our code. It will be fixed for the next release. Please see here to help work around it.

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.