-
-
Save hugoabernier/91486f21ac089c56886254a0400c2a98 to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
This file is used by the publish/package process of your Web project. You can customize the behavior of this process | |
by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121. | |
--> | |
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<WebPublishMethod>FileSystem</WebPublishMethod> | |
<PublishProvider>FileSystem</PublishProvider> | |
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> | |
<LastUsedPlatform>Any CPU</LastUsedPlatform> | |
<SiteUrlToLaunchAfterPublish /> | |
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> | |
<ExcludeApp_Data>False</ExcludeApp_Data> | |
<ProjectGuid>3a09d6fb-7f5f-4dd8-b712-3e495c6c4936</ProjectGuid> | |
<publishUrl>\\whousesfilesharesanymore\websites\demowebapp</publishUrl> | |
<DeleteExistingFiles>False</DeleteExistingFiles> | |
<TargetFramework>netcoreapp2.1</TargetFramework> | |
<SelfContained>false</SelfContained> | |
<_IsPortable>true</_IsPortable> | |
</PropertyGroup> | |
<Target Name="TakeOffline" AfterTargets="BeforePublish" > | |
<Message Text="Taking application offline" Importance="high" /> | |
<!-- BEGIN: Add this --> | |
<Copy SourceFiles="_app_offline.htm" DestinationFiles="$(publishUrl)\app_offline.htm" /> | |
<!-- END: Add this --> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment