2016-11-30 202 views
0

在發佈到Azure時,更改不會反映出來。以下是我得到的輸出。我不明白爲什麼它說'任務'MSdeploy「跳過」。請幫忙。從Visual Studio將Web部署到Azure

Starting Web deployment task from source: manifest(C:\Users\Gayatri\documents\visual studio 2015\Projects\WebApplication1\WebApplication1\obj\Release\Package\WebApplication1.SourceManifest.xml) to Destination: auto(). 
2> Using ID '60782d5c-ed62-4a03-bb62-8719787dc8e8' for connections to the remote server. 
2> Adding ACL's for path (WebApplication18657) 
2> Adding ACL's for path (WebApplication18657) 
2> Using ID 'a2d5f3af-351f-4f3d-bf19-af503f5a0b49' for connections to the remote server. 
2> Adding ACL's for path (WebApplication18657) 
2> Adding ACL's for path (WebApplication18657) 
2> Successfully executed Web deployment task. 
2> Publish Succeeded. 
2> Task "MSdeploy" skipped, due to false condition; ($(UseMsdeployExe)) was evaluated as (False). 
2>Done building project "WebApplication1.csproj". 
2>Web App was published successfully http://webapplication18657.azurewebsites.net/ 
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== 
========== Publish: 1 succeeded, 0 failed, 0 skipped ========== 
+1

你嘗試檢查是否有新發布的文件是通過[Kudu控制檯工具](https://github.com/projectkudu/kudu/wiki/Kudu-console)在您的網站wwwroot文件夾下(D:\ home \ site \ wwwroot>)? –

+0

是使用Kudu控制檯檢查發佈的文件是否在根文件夾中更新。 –

回答

0

根據您的描述,即使更新發布到網站根文件夾,您似乎也看不到網頁的更改。這裏是我的建議:

  1. 重啓當前Azure的web應用程序
  2. 清晰的瀏覽器緩存
  3. 查看Web應用程序,並檢查是否更改都反映
+0

是的,它重新啓動後,它工作了一千次。也許這是Azure的一個問題。 –

+0

你嘗試清除瀏覽器緩存嗎? –

相關問題