Skip to content

Impossible to ran DevAudit from TFS Agent #138

@llotall

Description

@llotall

Trying to Run devaudit command from under the TFS agent and get Exception message.

v3.4.0.20
Runtime error! DevAudit will now terminate.

Unhandled Exception: System.IO.IOException: The handle is invalid.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.Console.set_CursorVisible(Boolean value)
   at DevAudit.CommandLine.Program.Main(String[] args) in D:\a\1\s\DevAudit.CommandLine\Program.cs:line 663

I use azure pipline task
steps:
- powershell: devaudit netcore -f somepath/....deps.json

But when i use the same command locally on my work machine all is good

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions