0

I have a weird problem.

var dummyUri = new UriBuilder("http", "localhost", 8585, "Some[Name");

If I put this code block to console app , absolute uri will be displayed like following.

AbsoluteUri = "http://localhost:8585/Some[Name"

If I put this code block in my test class(that means i am using nunit), absoluteUri will be displayed like following.

AbsoluteUri = "http://localhost:8585/Some%5BName"

And I am wondering that what is the differences.

vercin
  • 210
  • 4
  • 12
  • Whenever i run this test with Reharper, It seems it is working. but whenever I run this test with Nunit GUI, it is failing. – vercin Mar 07 '16 at 13:29
  • http://stackoverflow.com/questions/25968963/invalid-system-uri-parsing-under-nunit – vercin Mar 07 '16 at 14:19

1 Answers1

0

You can find same question and solution for this problem here

vercin
  • 210
  • 4
  • 12