Disable Dll Culture Folders on Compile

.net, c#, culture, wpf

Solution

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

Add this line to your *.csproj

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

Problem

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.

Original source

Related problems