Skip to content

NDepend v3 .project_file is not turned into a windows path, therefore fails ndepend.console.exe's validation #192

Description

@petemounce

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('/','\\').'d

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions