Matt Brailsford
<Target Name="CopyAssets" BeforeTargets="Build" Condition="!Exists('$(MSBuildProjectDirectory)\Views\MyView.cshtml') "> ... </Target>