I have created an WCF Service that uses much memory. So I should run this service as an x64 process. But when I set platform=x64 and start debug I catch exception:
Could not load file or assembly 'XXXXXX' or one of its dependencies. An attempt was made to load a program with an incorrect format.
How I can do it correctly? Thanks!
EDIT:
My service uses only one reference: .NET -> System.ServiceModel
It means that one of your dependent assemblies (referenced or a project from the same solution) is set to a different CPU architecture. Check that all referenced assemblies or projects are set to x64 or Any CPU.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With