Hi Remco,
Remco;9309 wrote:
If I understand this situation correctly, the X.Y.Location.resources.dll file is referenced implicitly by your code. There is no binding between your projects and these files, so there is no way for NCrunch to reliably know that the file needs to be co-located with the other assemblies.
That is correct. It is an "implicit reference", inherited from the reference to the main localization assembly. But it's an implicit reference with well defined rules:
https://msdn.microsoft.com/en-us/library/21a15yht(v=vs.110).aspx
Remco;9309 wrote:
The only way I could think of such a situation being handled automatically would be for NCrunch to perform wildcard copies of all files in the output directory, which is very dangerous as it could result in files being copied that should not be copied, and may result in compatibility problems for other users.
Yes, of course, copying all the files is not desirable. However, the referenced assembly and the satellite assemblies are a "single" unit.
Anyways, I have implemented a workaround for my tests. It is a hack, and I'm not happy about it, but we are talking about non-production test code, so perhaps it's fine for the time being.
I am enjoying the power of NCrunch in a million other ways, so I'm still a happy customer. :)
Cheers,
Csaba