R – Public resources, spark & conflict

asp.net-mvcresourcesspark-view-engine

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?

Best Answer

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