tqrecords
tqrecords

Reputation: 542

Web Publish no longer opening site after completion VS 2022

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):

enter image description here enter image description here

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

Answers (1)

Swarna Anipindi
Swarna Anipindi

Reputation: 954

enter image description hereenter image description here

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:

  • Open VS IDE as Administrator, Update it to the latest Version.
  • Delete the .vs folder from your project folder and pubxml file if it is available.
  • Clean, Rebuild and Publish.

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:

enter image description here

Upvotes: 2

Related Questions