Environment Variable for AppData\Local / Access Downloaded custom assemblies

Solution 1:

You can use %LOCALAPPDATA% environment variable. It expands to

RootDrive:\User\LoggedInUser\AppData\Local


Example: %LOCALAPPDATA%\BuildAgent


Note that %APPDATA% will expand to

RootDrive:\User\LoggedInUser\AppData\Roaming