derickbailey/Albacore — Issue #192: NDepend v3 .project_file is not turned into a windows path, therefore fails ndepend.console.exe's validation
Author: petemounce
Created: 2012-02-03 14:29:56+00:00
State: open

Using Albacore 0.2.7, NDepend v3.9.0.5848, on Win2008 R2 x64, and the following rakefile snippet, I consistently get the error below. I think the NDependTask project_file parameter needs to be .gsub('/','\\').

I am able to work around the issue by redefining the `create_parameters` method like so:

class NDepend
def create_parameters
params = []
params << File.expand_path(@project_file).gsub('/','\\') #NDepend v3 forces absolute windows-path
return params
end
end