FAKE icon indicating copy to clipboard operation
FAKE copied to clipboard

DotNet helper breaks PATH

Open adusak opened this issue 8 years ago • 5 comments

Description

When building using the DotNet helper the $PATH variable is overwritten rendering some builds broken.

Repro steps

Have a csproj that executes external tools such as node.

Expected behavior

DotNet helper preserves the original PATH.

Actual behavior

DotNet helper sets PATH only to found dotnet cli tool.

Known workarounds

Do not use DotNet helper

Related information

  • Operating system Windows, this is not reproducible on macOS

adusak avatar Oct 10 '18 12:10 adusak

Is this with 5.8.4 because we just fixed this bug and released 5.8.5?

matthid avatar Oct 10 '18 12:10 matthid

This is happening to me even in the latest version.

adusak avatar Oct 10 '18 12:10 adusak

@adusak Can you take a look at the lockfile and upload it? Also a minimal sample would probably help

matthid avatar Oct 10 '18 12:10 matthid

Sorry, it was caused only by my stupidity. I had the latest CLI but the lock file contained an old version of the DotNet package. Sorry!

adusak avatar Oct 10 '18 13:10 adusak

@adusak happy to know that it works, thanks for reporting back

matthid avatar Oct 10 '18 13:10 matthid