<Copy SourceFiles="@(sourceFiles)" DestinationFolder="$(destinationFolder)\"/>
这在 MSBuild 3.5 中对我来说很好用。但是由于我一直在尝试迁移到 4.0,MSBuild 向我抛出了这个错误。
The "Microsoft.Sdc.Tasks.Folder.Copy" task could not be loaded from the assembly Microsoft.Sdc.Tasks.dll. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
我试过把UsingTask
, 但仍然是徒劳的。有任何想法吗?