Search code examples
c#wpfvisual-studiolocalizationexpression-blend

How can I limit builds to only support EN "Microsoft.Expression.Interactions.resources.dll", and avoid DE, KR, FR, ES, etc...?


When I build my WPF Project, it creates several language folders, each containing "Microsoft.Expression.Interactions.resources.dll".

The weird thing is that I never created translations of my resource strings to other languages, and yet it still creates DE, KR, FR, ES folders. What I just need is EN.

How can I limit the localization to just EN?


Solution

  • I just deal with it like this. Go to the properties of your reference and do this:

    Set "Copy local = false"

    Save

    Set "Copy local = true"

    Save

    and that's it.

    Visual Studio 2010 doesn't initially put: True in the reference tag and setting "copy local" to false causes it to create the tag. Afterwards it will set it to true and false accordingly.