I have a pure managed .NET DLL file (an assembly) which is currently being compiled with a Platform Target of x86. Since this is pure .NET code (without any unmanaged references or interops) it could/should be Any CPU, but for whatever reason it is not.
This DLL file is being referenced by an Any CPU .NET executable. Of course I get the CSC warning
MSB3270: There was a mismatch between the processor architecture of the project being built
but the executable appears to work, even on 64-bit Windows. However, I can't be confident there aren't any issues lingering around when running under 64-bit.
Does Platform Target (x86/x64/AnyCPU) for a pure-managed DLL file matter since the executable is the one dictating x86/x64 execution?
Or put in a different way: Will a running 64-bit .NET executable run into any problems loading/running a "32-bit" .NET DLL file?