Created
August 11, 2019 05:32
-
-
Save Naveen512/b76b2976a8fdc0844a1377a637056491 to your computer and use it in GitHub Desktop.
My gist code
This file contains 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
<Target Name="PreBuild" BeforeTargets="PreBuildEvent"> | |
<Copy Condition="'$(Configuration)'=='Debug'" SourceFiles=".\wwwroot\app_offline.htm" DestinationFolder=".\"></Copy> | |
</Target> | |
<Target Name="PostBuild" BeforeTargets="PostBuildEvent"> | |
<Delete Condition="'$(Configuration)'=='Debug'" Files="app_offline.htm"></Delete> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment