Can anyone assist us with the above error.
Getting error while configuring build pipeline for .net framework project on azure VM IIS
We are getting error while configuring build pipeline for .net framework project having single .sln file for 3 different applications using azure devops pipelines ,
##[error]The nuget command failed with exit code(1) and error(Error parsing solution file at D:\a\1\s\GSA.sln: Exception has been thrown by the target of an invocation. Could not load file or assembly 'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.)
We are running below steps,
If we do not specify the Nuget version then restore command is working but with Nuget version it is failing.