Disable Dll Culture Folders on Compile

Alexander Forbes-Reed picture Alexander Forbes-Reed · Dec 3, 2013 · Viewed 17.5k times · Source

I'm using 2 dlls (Microsoft.Expression.Interactions.dll and System.Windows.Interactivity.dll) that, when the parent application is compiled, create loads of culture folders:

And inside each are 2 dlls (Microsoft.Expression.Interactions.resources.dll and System.Windows.Interactivity.resources.dll). I've googled around and I just can't find anything related to how to stop this annoying auto-generated content.

Answer

al.koval picture al.koval · Mar 12, 2020

Faced the same problem. My project uses ASP.NET Core 3.1

Add this line to your *.csproj

<PropertyGroup>
   <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>