Reputation: 542
I started having this issue recently when publishing my web app. Previously it would open the site after a successful publish, but it is no longer doing that. I have my destination url set in the publish settings.
There is also a notification that an error occurred in the publish profile window, even though the publish succeeded with no errors (some warnings but no errors):
I validate the deployment is successful once the site opens up in the browser, which is easier than hunting through the output window to check the logs. There are also no timestamps in the logs to indicate when the last deployment was, so often I deploy multiple times because I forgot when I did it last. I am on VS 2022 Community Build 17.3.6.
Upvotes: 2
Views: 496
Reputation: 954
In your Image, Publishing to Azure is Succeeded but the Visual Studio IDE showing publish is failed.
The same issue has been registered few days back in the MS Q&A Forum.
In the above issue, there are few troubleshooting steps suggested from the Product Team SME's @LanHuang-MSFT and @ajkuma-MSFT were:
Recently, I have checked by publishing the .NET 6 Core Web App to Azure Web App using VS 2022 IDE latest Version 17.3.6
and it is working as expected in publishing to Azure:
Upvotes: 2