The $env:TMP folder resolves to C:\vstsagent\A1\_work\_temp\ which is cleared before and after every release, making it impossible to use as a store for DbUp binaries in an offline scenario. This PR proposes to use $env:LOCALAPPDATA instead which always resolves to %LOCALAPPDATA%.
The
$env:TMP
folder resolves toC:\vstsagent\A1\_work\_temp\
which is cleared before and after every release, making it impossible to use as a store for DbUp binaries in an offline scenario. This PR proposes to use$env:LOCALAPPDATA
instead which always resolves to %LOCALAPPDATA%.