We recently upgraded our TFS Server from 2010 to 2015. The build definitions from TFS 2010 were also updated so that they were compatible with the new TFS 2015.
Once a build is finished we see the following error in build logs / summary :-
An error occurred while copying diagnostic activity logs to the drop location. Details: Error while copying content to a stream.
This was never an issue with the old TFS server. We also found that the build output is not copied to the drop location.
I've already checked the permissions, sharing etc. and everything seems correct.
Not sure if this is related but on running the build in diagnostic mode, we also got the following error:-
Build **** (vstfs:///Build/Build/***) did not provide 'logs\ActivityLog.AgentScope.14.xml'.
Any help would be appreciated.