Public resources, spark & conflict

和自甴很熟 提交于 2019-12-12 15:40:50

问题


Using this to generate my resources. Problem is, spark dies when tries to generate dynamic views because there is app_globalresources.dll and myapp.dll somewhere there - deep into temp jungles.

.spark(9,36): error CS0433: The type 'Resources.Account' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webpac\031ff06d\e6932d30\assembly\dl3\f31cd083\982c5673_7f8dca01\myApp.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webpac\031ff06d\e6932d30\App_GlobalResources.cwbnqwjg.dll'

Any ideas what's wrong?


回答1:


Moved resource files from App_GlobalResources to simple folder Resources and it's cool.



来源:https://stackoverflow.com/questions/2002372/public-resources-spark-conflict

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!