johanclasson / vso-agent-tasks

Build and Release Tasks for Visual Studio Online and Team Foundation Server
MIT License
20 stars 16 forks source link

Look for DbUp in LOCALAPPDATA instead of TMP #29

Closed AndersSahlin closed 6 years ago

AndersSahlin commented 6 years ago

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%.