Search code examples
azureazure-web-app-servicepublishwebdeployvisual-studio-mac

Publish/Web Deploy for Mac Visual Studio Community


Is there a way to Publish ASP.NET Core WebApp to a local folder and not just the forced default to Azure? I looked around and can't find any information on that.


Solution

  • Is there a way to Publish ASP.NET Core WebApp to a local folder and not just the forced default to Azure?

    I test it on the windows platform via dotnet publish commandline, it works correctly. You could have a try on Mas OS.

    dotnet publish webprojectName.csproj --output localpath
    

    enter image description here