In a VS2015 .NET 4.6.1 project, I have a data resource file with a Build Action set to 'Embedded Resource' and a name as follows:
myDataFile.bin.zip
Unfortunately 'bin' is a locale that is present on my Windows 10 machine, which is causing the file to be identified as a resource for a specific locale, rather than the default one (Visual Studio seems to recognise files named in the format <name>.<locale>.<ext>
as being specific to a locale), resulting in the creation of a satellite assembly.
This means that when built, I get two assemblies:
myproject.dll
bin\myproject.resources.dll
I want the file to be included in the project assembly, not in a satellite assembly.
Without changing the filename, is this possible?
Thanks!