It would be great if someone can help me to fix the randomly seeing error in VSTS Build agents:
MSBUILD : Logger error MSB4104: Failed to write to log file XYZ.sln.log. . The process cannot access the file XYZ.sln.log because it is being used by another process. ##[error]Process msbuild.exe exited with code 1.
Restarted the agent, configured windows machine...