2015年9月8日 星期二

Visual Studio 2015 發佈 Web App 發生的問題

問題

今天更新 Web App 程式時,發生了下面的錯誤:

image

An error occurred while creating the WebJob schedule: Could not load type 'Microsoft.IdentityModel.Clients.ActiveDirectory.ActiveDirectoryAuthenticationException' from assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

什麼鬼東西。我明明參考的是 2.19 版啊?於是又將這個assembly 加入這個 WebJob,然後還是不行。

原因

原來,只是在 VS2015 上的 Cloud Explorer 的帳密過期了,需要重敲。
這個錯誤訊息也太…

Share with Facebook