Skip to content

Instantly share code, notes, and snippets.

@paigecook
Created March 18, 2011 15:24
Show Gist options
  • Save paigecook/876258 to your computer and use it in GitHub Desktop.
Save paigecook/876258 to your computer and use it in GitHub Desktop.
Settings that worked when MvcBuildViews is set to true.
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\$(ProjectName)" />
</Target>
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\Web" />
</Target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment