我使用Web Platform Installer在我們的開發服務器上安裝了Azure SDK 2.1。更新完成後,我們的測試項目(這是WCF服務)現在已損壞。當您瀏覽到項目(更新前正在工作)時,會出現以下錯誤:Azure SDK 2.1 - 無法加載文件或程序集'System.Web.WebPages.Deployment,
Could not load file or assembly 'System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
所有我搜索引用的MVC。我們不使用MVC,也從來沒有,它甚至不應該安裝在服務器上。爲什麼我會收到此錯誤消息?
編輯:我通過在另一臺服務器上測試發現安裝「Windows Azure SDK for .NET(VS 2010 SP1) - 2.1」包括MVC 4.0作爲依賴項。爲什麼安裝?