Search code examples
visual-studiobuildcastle-activerecord

Resources Files in Multiple Languages


I'm working on a c# Visual Studio project I've taken over and one thing that is causing me a problem is that a package Castle.Components.Validators is installing every single resource file it has when I build for every single language it knows about. This means that in my eventual program directory I have folders for about 12 different languages. I don't want all those as it clutters things up and tbh I don't use the Validator resource files. How can I stop it including all those resource files?

Cheers,

Neil


Solution

  • there might be a more elegant way to deal with this Problem, but an easy one that'll work would be to add a post-build-script to your project, that deletes all the unnessecery files and folders.

    Greetings

    Juy Juka