<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup>
    <PropertyPageSchema
      Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
    <!--GOR Include="$(MSBuildProjectDirectory)\**\*.l"/-->
  </ItemGroup>
  <PropertyGroup>
 <DestCustFolder>$(OutDir)</DestCustFolder>
 </PropertyGroup>
  <UsingTask
    TaskName="GOR"
    TaskFactory="XamlTaskFactory"
    AssemblyName="Microsoft.Build.Tasks.v4.0">
    <Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
  </UsingTask>
  <Target Name="CopyCustom"
  AfterTargets="Build"
  Inputs="@(GOR )"
  Condition="'@(GOR)' != ''"
  Outputs="@(GOR -&gt;'$(DestCustFolder)%(RecursiveDir)%(FileName)%(Extension)')"
  Returns="@(GOR -&gt;'$(DestCustFolder)%(RecursiveDir)%(FileName)%(Extension)')">  
 <Message Text="Copy custom files..." />
 <Copy SourceFiles="@(CustomFiles )" DestinationFiles="@(CustomFiles->'$(DestCustFolder)%(FileName)%(Extension)')" SkipUnchangedFiles="true" />
 <Copy SourceFiles="@(CustomFiles )" DestinationFiles="@(CustomFiles->'$(ProjectDir)%(FileName)%(Extension)')" SkipUnchangedFiles="true" />
 </Target>
</Project>