Hi,
I'm trying to copy my Views folder for my MVC project in an MSBuild task, but it keeps on flatten everything, and I've tried loads of different things, but never manage to get it to work. Do you have any idea?
<ItemGroup>
<ViewsFolder Exclude="*.cs;*.svn-base;" Include="../MyMVCProject.Web\Views\**\*.*"/>
</ItemGroup>
<Copy SourceFiles="@(ViewsFolder)" DestinationFolder="c:\MyProject\Destination\MyMVCProject.Web\Views" />