After upgrading to TFS 2017, some of our builds started to fail with the following error message:
System.Management.Automation.RuntimeException: Source path 'd:\b\3\_work\3\s\<Project>\bin\Release\*.*' does not exist.
The issue was caused by our Copy Files Task as part of our build definition.
Turns out that the Source path can no longer contain wildcards(like *.*) but should point to a specific folder or file. After removing the wildcards everything worked as expected…
From the documentation: