Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error trying to publish my web app from VS Enterprise 2015 update 1 to azure:

Yesterday when I published this webapp, it said that a new webapp has been created although there is nothing to display. So, as required I installed the Azure SDK updates, etc., - as was recommended by the software ie VS 15 enterprise edition. Today, when I right click on the web app and select Publish I see the following error on my Azure App Service Activity tab:

        ------ Build started: Project: BPIT - Publish, Configuration: Debug Any CPU ------
        ------ Publish started: Project: BPIT - Publish, Configuration: Debug Any CPU ------
        Can't find existing loaded project:http://localhost:6002

        ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
        ========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

Check this for more information.

http://bpitanshika.azurewebsites.net/
like image 429
Anshika Agarwal Avatar asked Sep 26 '22 12:09

Anshika Agarwal


1 Answers

I had the same error publishing ASP.Net Websites (not Web app) to Azure. Here's how to fix it:

  1. On Visual Studio click View - Other Windows - Web Publish Activity
  2. This will bring up Azure App Service Activity window
  3. Click on Publish icon

https://blogs.msdn.microsoft.com/acoat/2016/01/28/publish-a-static-web-site-using-azure-web-apps/

like image 102
friend Avatar answered Oct 18 '22 20:10

friend