I was recently trying to perform a standard copy using the Copy task in MSBuild when I was suddenly faced with this error message:
The "Copy" task does not support copying directories.
Well, fortunately, I came across this article which describes how to workaround this limitation of the base MSBuild Copy Task: http://blogs.msdn.com/b/msbuild/archive/2005/11/07/490068.aspx
Of course, another alternative is to simply use the RoboCopy task from the MSBuild Extension Pack: https://github.com/mikefourie/MSBuildExtensionPack/releases
The "Copy" task does not support copying directories.
Well, fortunately, I came across this article which describes how to workaround this limitation of the base MSBuild Copy Task: http://blogs.msdn.com/b/msbuild/archive/2005/11/07/490068.aspx
Of course, another alternative is to simply use the RoboCopy task from the MSBuild Extension Pack: https://github.com/mikefourie/MSBuildExtensionPack/releases
No comments:
Post a Comment