问题
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