Hello,
Here's a few specs before I begin:
I have created a program that generates crystal reports (working fine). The ultimate goal here is to publish / deploy my program so that all the engineers in the company may access my program and use it to create their reports and do all their engineering things. I have a few errors on trying to get it to work for client computers but I'll address that in another post. For now, I want to solve my warning issue:
Referenced assembly 'C:\Windows\assembly\GAC_64\log4net\1.2.10.0__692fbea5521e1304\log4net.dll' targets a different processor than the application.
If I set my target CPU to x86 (32 bit) or x64 the error will go away. The issue is, if I set it to x86, I cannot run it on a 64 bit computer (I don't really understand why that happends). Similarly, if I set it to x64 and try to run it on a 32 bit, it won't work (and that I understand).
My question here is, can I make the GAC be in 32 bit? Or atleast ... How do I get the log4net.dll file to be a 32 bit version? Perhaps I'm way off course, that's why I'm asking you guys here :)
Thank you very much for your help,
If more information is needed I'll gladly provide it.
Alex
Here's a few specs before I begin:
- Crystal reports 32 bits
- Windows 7 Professional Service Pack 1 64 bits
- Visual Studio 2010 32 bits
I have created a program that generates crystal reports (working fine). The ultimate goal here is to publish / deploy my program so that all the engineers in the company may access my program and use it to create their reports and do all their engineering things. I have a few errors on trying to get it to work for client computers but I'll address that in another post. For now, I want to solve my warning issue:
Referenced assembly 'C:\Windows\assembly\GAC_64\log4net\1.2.10.0__692fbea5521e1304\log4net.dll' targets a different processor than the application.
If I set my target CPU to x86 (32 bit) or x64 the error will go away. The issue is, if I set it to x86, I cannot run it on a 64 bit computer (I don't really understand why that happends). Similarly, if I set it to x64 and try to run it on a 32 bit, it won't work (and that I understand).
My question here is, can I make the GAC be in 32 bit? Or atleast ... How do I get the log4net.dll file to be a 32 bit version? Perhaps I'm way off course, that's why I'm asking you guys here :)
Thank you very much for your help,
If more information is needed I'll gladly provide it.
Alex