** Changed in: nunitv2
       Status: In Progress => Fix Committed

-- 
FileNotFoundException when loading .nunit file
https://bugs.launchpad.net/bugs/570162
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit V2 Test Framework: Fix Committed

Bug description:
When loading our .nunit file with NUnit 2.5.5.10112 an exception occurs.
This worked with NUnit 2.5.4.10098 and older versions.

The problem is the following change:

http://bazaar.launchpad.net/~nunit-core/nunitv2/2.5.3/revision/3130/src/ClientUtilities/util/Services/DomainManager.cs

We have a '..' inside our basePath. Because of the Path.GetFullPath 
PathUtils.RelativePath no longer recognizes the realtive directory correctly.

The following would work:

string dir = PathUtils.RelativePath( Path.GetFullPath(basePath), 
Path.GetDirectoryName( Path.GetFullPath(assembly) ) );



_______________________________________________
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

Reply via email to