Package Reference - NuGet Packages

How can I use an environment variable when specifying a path using a MandatoryPath attribute?

%userprofile%\.nuget\packages

We MUST use the above path when building on a Hosted Build Agent in Azure Pipeline. How do we do this?
Sign In or Register to comment.