I\'m working on a ASP.NET MVC2 project, for which I have configured the localisation as follows ...
doh!
I think when I switched my "usual working folder" to the branch this was in, I had some files in a "App_GlobalResources" folder.
I just tried to create a new App_GlobalResources folder in VS2010 and it told me there was already one there, but it wasn't in the solution explorer.
I looked in windows explorer a number of times and just didn't see that folder.
Anyway, problem solved!
moral: don't trust solution explorer or svn switch to delete files that don't belong in the working copy :'(
Although I do not know how to stop App_GlobalResources automatically generationg assemblies in Temporary ASP.NET files. I did figure out how to get rid of those annoying warnings.
As the warning says:
Compiler Error Message: CS0433: The type 'Resources.XXXX' exists in both 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\6c657d01\aaca70ae\assembly\dl3\a36dac65\78c87110_3724cb01\Resources.DLL' and 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\6c657d01\aaca70ae\App_GlobalResources.g6fehiio.dll'
The type Resources.XXXX exists in both assemblies. Change your Custom Tool Namespace
to be something other than "Resources" and these warnings will dissappear.