Skip to content

Instantly share code, notes, and snippets.

@hugoabernier
Last active November 8, 2018 18:21
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 hugoabernier/4e828b0e90c5b638a45a642e5da1d7fa to your computer and use it in GitHub Desktop.
Save hugoabernier/4e828b0e90c5b638a45a642e5da1d7fa to your computer and use it in GitHub Desktop.
<?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>
<!-- BEGIN: Add this -->
<Target Name="TakeOffline" AfterTargets="BeforePublish" >
<Message Text="Taking application offline" Importance="high" />
</Target>
<!-- END: Add this -->
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment