Disable Dll Culture Folders on Compile

Solution 1:

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

Add this line to your *.csproj

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

Solution 2:

There are two workarounds for this issue:

  • copy System.Windows.Interactivity.dll and add a reference directly to this file
  • remove those folders from:
    \Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.5\Libraries

Related links:
Original solution
Generated files by caliburn.micro in Release directory

Solution 3:

I use other solution. You can configure Post-build event for your project in Vistual Studio, wich will remove redundant folders:

rd /s /q "de", "en", "es", "fr", "it", "ja", "ko", "ru", "zh-Hans", "zh-Hant"

This solution is less invasive than removes folders from sdk folder.