Assert.AreNotEqual returns misleading exception - by Harry-vB

Status : 

  Duplicate<br /><br />
		This item appears to be a duplicate of another existing Connect or internal item.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 778810 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 2/8/2013 12:07:43 AM
Access Restriction Public


A call to Assert.AreNotEqual that compares two identical strings containing a "{" and uses a message with format arguments returns a misleading exception (System.FormatException: Input string was not in a correct format.).

See also ID777498 for a similar bug.
Sign in to post a comment.
Posted by Microsoft on 4/15/2013 at 9:55 PM
Hi Harry,

Thanks for reporting this issue.

We are able to reproduce the reported problem and we will address it in one of the visual studio release.

Visual Studio Product Team
Posted by Microsoft on 4/15/2013 at 3:10 PM

Thanks for reaching out to us with this issue. This is currently under investigation - I'll keep you posted on our triage call.

Microsoft Visual Studio ALM
Posted by Microsoft on 2/10/2013 at 10:24 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 2/8/2013 at 12:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(