This seems to be a regression on a bug we fixed in the past. We set the current directory to the LocalPath of the assembly Codebase, which stops at a # because of the special meaning of # within a URL. In a past version we replaced LocalPath with our own logic, but I suspect we have lost that change.
** Changed in: nunitv2 Status: New => Triaged ** Changed in: nunitv2 Importance: Undecided => High -- You received this bug notification because you are a member of NUnit Developers, which is subscribed to NUnit V2. https://bugs.launchpad.net/bugs/893991 Title: When working directory contains # sign, it is truncated Status in NUnit V2 Test Framework: Triaged Bug description: For example, my assembly with tests located in C:\path\to\my\C#\project In test I call Console.WriteLine(Environment.CurrentDirectory) and get only "C:\path\to\my" in output. Reproduced on 2.5.10. To manage notifications about this bug go to: https://bugs.launchpad.net/nunitv2/+bug/893991/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : nunit-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp