Created
June 19, 2014 13:06
-
-
Save PatrickMcDonald/cb43a325a87e6e2e99ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<PropertyGroup> | |
<_EnableCleanOnBuildForMvcViews Condition=" '$(_EnableCleanOnBuildForMvcViews)'=='' ">true</_EnableCleanOnBuildForMvcViews> | |
</PropertyGroup> | |
<Target Name="CleanupForBuildMvcViews" Condition=" '$(_EnableCleanOnBuildForMvcViews)'=='true' and '$(MVCBuildViews)'=='true' " BeforeTargets="MvcBuildViews"> | |
<ItemGroup> | |
<_TempWebConfigToDelete Include="$(BaseIntermediateOutputPath)**\Package\**\*" /> | |
<_TempWebConfigToDelete Include="$(BaseIntermediateOutputPath)**\TransformWebConfig\**\*" /> | |
<_TempWebConfigToDelete Include="$(BaseIntermediateOutputPath)**\CSAutoParameterize\**\*" /> | |
<_TempWebConfigToDelete Include="$(BaseIntermediateOutputPath)**\TempPE\**\*" /> | |
</ItemGroup> | |
<Delete Files="@(_TempWebConfigToDelete)" /> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment