Publish-AzureServiceProject does not update files in the cloud

I have a PHP Azure project with which I need to manage Powershell cmdlets. One of them, Publish-AzureServiceProject, does not seem to detect file changes, so they are not updated in the cloud (even if there are no errors).

I have a remote desktop in machines, and the code is definitely not updating a few weeks ago.

If I use a local emulator, that’s fine, but it’s much more obvious because it displays “delete old package” and “create local package”. The cloud package definitely contains the latest files, so the packaging works fine.

Can someone tell me how to get the publication to update files in the cloud and more importantly why this is not happening? Also, if I force the update, will it expand in a new window and get a new IP address?

Thanks.

+4
source share
1 answer

Now it works.

I uninstalled and reinstalled azure libraries from my machine and created a new project from scratch and copied the source files into it. I did not turn on diagnostics (not sure if this is a problem), and I modified the Publish-AzureServiceProject script to select a subscription every time before publishing it.

It’s possible that the subscription mess didn’t help (I have two Azure subscriptions, and at some point it may be used incorrectly), and it was also possible that there was a conflict with different versions of the Azure SDK, since I use it for more than 6 months, but at the moment everything is fine.

A related article on my blog here: Problems with PHP Azure

thank you for your interest

+2
source

Source: https://habr.com/ru/post/1483400/


All Articles