Skip to content

Instantly share code, notes, and snippets.

@Naveen512
Created August 11, 2019 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Naveen512/b76b2976a8fdc0844a1377a637056491 to your computer and use it in GitHub Desktop.
Save Naveen512/b76b2976a8fdc0844a1377a637056491 to your computer and use it in GitHub Desktop.
My gist code
<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