What is the purpose of the FSharp.Core.resource.dll files?

I have wondered for a long time, what are these folders for? When I delete them my program seems to run just fine. Is it for localizing error messages or something?

image

yep, exactly that! The compiled resx resources are in localized dlls in those directories, and the resource-loader subsystems know to try and look in the appropriate one before falling back to the built-in English.

1 Like

Thank you! Is there any way to exclude them?

It appears there’s a MSBuild property you can set to strip out these ‘satellite’ assemblies from the build/publish: https://github.com/dotnet/docs/issues/18995

2 Likes