When you build a silverlight application, it always outputs a whole bunch of localization resource dlls into \bin\de\
\bin\es\
\bin\fr\
etc (which can end up packaged in the .xap). This is wonderful but I'm not using these, they aren't required for the app to operate and they are cluttering up the root of our TFS build server.
I realise there's a little bug with TFS 2K8 which is easily fixable to ensure these files don't get dumped in the build server's root, however what I would ideally like is to PREVENT these files from ever being generated.
I've tried everything under the sun to stop these files from being created. Because they don't actually exist until build time, I can't tell them to not output.
I've found tons of information on localization / globalization, how these files work and lots of ways to manipulate them, but nothing on preventing them building in the first place.
Does anyone know of a way that I can stop these from appearing in \bin\ on build ? Is there an switch I can use in the build options or something similar?
Edit. I want a way to PREVENT this happening. It can be cleaned up with post-build events but that is far from ideal.