NuGetCommand@2 restore always picks some old .NET SDK version on custom agent
I have a solution with projects of both old and new .net. When I try to restore the solution as a whole i always get some error like this
This is running on a custom agent with multiple sdks installed and this is a sample code
1 Reply
same happens when i try to use
VSBuild
to build the whole solution
ive been at this for weeks now so any help is appreciated
also yea, i tried using this code on a normal windows pool and everything worked fine