我有一個已遷移到Azure Web Role的MVC3項目,它工作正常。但有一兩件事是真的竊聽我:當我發佈/包的項目部署我得到這個錯誤:部署Azure項目時的依賴警告(WAT150)
Warning WAT150: The project '' is dependent on the following assembly C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Desktop\System.Data.SqlServerCe.dll. This assembly is not in the package. To make sure that the role starts, add this assembly as a reference to the project and set the Copy Local property to true.
所有我能找到在谷歌是如何添加的依賴。然而,我刪除了它,並且我無法找到這個依賴關係正在被拾取的位置。它不會引起任何問題,除了像黑板上的指甲一樣刺痛我的神經。如果有人能指出我朝着正確的方向,我將不勝感激。
我最終將其設置爲診斷級別,它看起來像是Elmah所要求的。有趣的是Elmah也引用了Sqlite,但我沒有得到警告。但是因爲我使用Elmah,所以我想除非我想嘗試別的東西,否則我沒有太多選擇。 –
多麼乏味;希望Elmah的指甲很快恢復! –