locked
How can i publish a web project to Azure using .publishsettings file ? RRS feed

  • Question

  • User1253338400 posted

    Hi ,

    I have a web project that I want to deploy to Azure.  The Azure App service is set up and I have downloaded the PUBLISHSETTINGS file.I would like to use PowerShell script to deploy the app to Azure, but I keep reading that I need a .pubxml file (How can I get that file , do I have to transform the .PUBLISHSETTINGS file ?)

    Thanks

    Tuesday, April 2, 2019 10:03 PM

Answers

  • User283571144 posted

    Hi robby32,

    I have a web project that I want to deploy to Azure.  The Azure App service is set up and I have downloaded the PUBLISHSETTINGS file.I would like to use PowerShell script to deploy the app to Azure, but I keep reading that I need a .pubxml file (How can I get that file , do I have to transform the .PUBLISHSETTINGS file ?)

    According to your description, I suggest you could try to open the azure protal with the web app to get the  PUBLISHSETTINGS file. Then you could directly using the powershell command with this  PUBLISHSETTINGS file to publish the application to azure web app.

    Image as below:

    Best Regards,

    Brando

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 3, 2019 1:54 AM

All replies

  • User283571144 posted

    Hi robby32,

    I have a web project that I want to deploy to Azure.  The Azure App service is set up and I have downloaded the PUBLISHSETTINGS file.I would like to use PowerShell script to deploy the app to Azure, but I keep reading that I need a .pubxml file (How can I get that file , do I have to transform the .PUBLISHSETTINGS file ?)

    According to your description, I suggest you could try to open the azure protal with the web app to get the  PUBLISHSETTINGS file. Then you could directly using the powershell command with this  PUBLISHSETTINGS file to publish the application to azure web app.

    Image as below:

    Best Regards,

    Brando

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 3, 2019 1:54 AM
  • User1253338400 posted

    Hi ,

    Thanks , got it working.

    cheers

    Wednesday, April 3, 2019 10:42 PM