Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. NOTE: I'm pretty sure that the publishprovider should NOT be the one shown here.
  4. I do not know what it should be and will update this answer when I figure that fact out.
  5. -->
  6. <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  7. <PropertyGroup>
  8. <WebPublishMethod>MSDeploy</WebPublishMethod>
  9. <ADUsesOwinOrOpenIdConnect>False</ADUsesOwinOrOpenIdConnect>
  10. <PublishProvider>AzureWebSite</PublishProvider>
  11. <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
  12. <LastUsedPlatform>Any CPU</LastUsedPlatform>
  13. <SiteUrlToLaunchAfterPublish>http://ramsoftazurewebappdemo.azurewebsites.net</SiteUrlToLaunchAfterPublish>
  14. <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
  15. <ExcludeApp_Data>False</ExcludeApp_Data>
  16. <CompileSource>False</CompileSource>
  17. <_DefaultDNXVersion>dnx-clr-win-x86.1.0.0-rc1-update1</_DefaultDNXVersion>
  18. <UsePowerShell>True</UsePowerShell>
  19. <IISCommand>web</IISCommand>
  20. <WebRoot>wwwroot</WebRoot>
  21. <WwwRootOut>wwwroot</WwwRootOut>
  22. <IncludeSymbols>False</IncludeSymbols>
  23. <Native>False</Native>
  24. <IgnoreDNXRuntime>False</IgnoreDNXRuntime>
  25. <MSDeployServiceURL>myservername.mydomain.biz:443</MSDeployServiceURL>
  26. <DeployIisAppPath>MyWebAppPath</DeployIisAppPath>
  27. <RemoteSitePhysicalPath />
  28. <SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
  29. <MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
  30. <EnableMSDeployBackup>True</EnableMSDeployBackup>
  31. <UserName>$USERNAME</UserName>
  32. <_SavePWD>True</_SavePWD>
  33. <_DestinationType>AzureWebSite</_DestinationType>
  34. </PropertyGroup>
  35. </Project>
  36.  
  37. "C:Program Files (x86)IISMicrosoft Web Deploy V3msdeploy.exe"
  38. -source:IisApp='C:devPublishOutYourWebAppwwwroot
  39. -dest:IisApp='YourIisAppName',
  40. ComputerName='https://yourcomputername.yourdomain.biz/msdeploy.axd',
  41. UserName='$USERNAME',
  42. Password='secr3t',
  43. IncludeAcls='False',AuthType='Basic'
  44. -verb:sync -enableLink:contentLibExtension
  45. -enableRule:DoNotDeleteRule -retryAttempts:3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement