FileNotFoundException when loading .nunit file

Bug #570162 reported by Neredera
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
NUnit V2
Fix Released
High
Neredera

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) ) );

Tags: easy

Related branches

Revision history for this message
Charlie Poole (charlie.poole) wrote :

Thanks for the help. Consider joining http://launchpad.net/~nunit-dev if you have not already.

Changed in nunitv2:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Neredera (neredera)
Changed in nunitv2:
milestone: none → 2.5.6
status: Triaged → Fix Committed
Changed in nunitv2:
status: Fix Committed → Fix Released
Revision history for this message
Neredera (neredera) wrote :

This bug is not fixed in 2.5.6.10205.

Revision history for this message
Charlie Poole (charlie.poole) wrote :

Apparently, your change didn't actually go in. I'm re-activating this bug.

Changed in nunitv2:
milestone: 2.5.6 → none
status: Fix Released → In Progress
tags: added: easy
Changed in nunitv2:
importance: Medium → High
Changed in nunitv2:
milestone: none → 2.5.7
Changed in nunitv2:
status: In Progress → Fix Committed
Changed in nunitv2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.