snapper
snapper

Reputation: 210

Import publish profile from Azure web app into Visual Studio Code (or vs for mac)

I have a dotnet 6 web application that currently being hosted in azure. I recently changed machines and needed to be able to publish changes. After pulling down my project onto my new machine from the repo I was able to import the publish profile into the new project and continue to publish without issue. (see image below)
enter image description here

My question is am I able to do something similar in visual studio code? And if so will it work cross platform? Say if I am using visual studio code on a mac? If it is not possible in vs-code what about visual studio for mac? I am the lone developer on this project and it would be nice to be able to publish from multiple machines (windows pc and macbook) should one of them go down.

I am hoping that I can use the import functionality because I have had very few issues publishing this way.

Upvotes: 0

Views: 1734

Answers (2)

snapper
snapper

Reputation: 210

So the short answer (for anyone else who may be looking for this) is to just create a build and release pipeline in azure. Then it really doesn't matter where or how you develop your application.

Upvotes: 0

SwethaKandikonda
SwethaKandikonda

Reputation: 8234

As of now, this feature is not available for vs for mac. However you can achieve this from windows. Here is a tutorial for thatPublish to Azure by importing publish settings - Visual Studio. Also there is a feature request that is made which is under review, You can follow up here Provide a mechanism to import Azure Function Profiles exported from Azure Portal for more information.

Upvotes: 1

Related Questions