Wednesday, March 8, 2017

TFS–Build fails after upgrading to TFS 2017

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.

image

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:

image

1 comment:

Jamal Mohamed said...

I just keep visiting this blog from past two years. The posts here are unique and useful than other blog posts. Such a great info provided in this post. Keep providing useful post in this blog .I appreciate author for this valuable post. Culinary Schools in Dubai, Dubai Cooking Schools