TDS Build Error Unable to copy file "
\bin\ **\*.*" to " \Website\*.*". Illegal characters in path. C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets
Working with Sitecore 7.2 and TDS 5.0 I recently started noticing the following error after syncing or using Sitecore Rocks to update TDS using the TDS connector:
Error Unable to copy file "<project path>\bin\<profile name>**\*.*" to "<inetpub path>\Website\*.*". Illegal characters in path. C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets
Solution: Always end the Build Output Path with '\'in the TDS project properties.
Here is the funny part, I tried fixing it by making the same change to the MS Build script used by TDS but then it would take forever to load the TDS project in VS.
Contacted Hedgehog support for the resolution and that is what they came back with.