2014-11-14 44 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

相关问题