2014-11-14 41 views
0

我正在將一個MVC 5網站部署到Windows Azure網站。本地運行,該網站按預期工作。當我發佈到該網站時,出現以下錯誤。使用語言資源編譯部署MVC應用程序到Azure錯誤

 Compilation Error 

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

    Compiler Error Message: CS0103: The name 'Resources' does not exist in the current context 
+0

更新時會出現一些有趣的行爲我在Azure上有一個開發和分段站點發布到開發站點工作正常發佈到分段站點沒有設置 – 2014-11-20 17:14:28

回答

0

做其他網站上的一些摸索後,對於其他工作一個解決辦法是去資源文件的屬性,並設置生成操作爲「內容」。

這並沒有爲工作但是將其設置爲'嵌入式資源'

+0

我上面評論過,但是這隻在我的開發站點上工作,而不是在分段。AFAIK,設置是相同的。 – 2014-11-20 17:14:58

相關問題