I am attempting to create an installation package for a 64 bit system with
Visual Studio 2005. The machine on which I am compiling and creating the
package is also 64 Bit. I have the 64 Bit .Net 2.0 Framework SDK along with
the 64 Bit version of Oracle Client, and 64 Bit version of Oracle ODAC
installed on the development machine. I have verified that I have MSI version
3 on the system as well. When I choose to compile for the 64 Bit platform, I
get the following error:
"File 'Linkviewer.dll' targeting 'AMD64' is not compatible with the
project's target platform 'x86'"
I get this error, with a different dll, for 9 of the 26 projects in the
solution. The code compiles and runs fine; I'm just getting this error when I
try to create the installation package. Any ideas?
Thank you.
Susan
Roger Stewart - 27 Sep 2007 19:10 GMT
In the error you state the "project's target platform 'x86". This
would lead me to believe that the problem projects current build
configurations may be inadvertantly set to target x86 (32bit
processors) instead of AMD64.
Susan - 27 Sep 2007 20:51 GMT
How do I ensure that it is building for AMD64?
Thank you,
Susan
> In the error you state the "project's target platform 'x86". This
> would lead me to believe that the problem projects current build
> configurations may be inadvertantly set to target x86 (32bit
> processors) instead of AMD64.
Roger Stewart - 27 Sep 2007 22:45 GMT
Check out this article:
<http://msdn2.microsoft.com/en-us/library/ms228639(VS.80).aspx>
Basically, either your Setup projects TargetPlatform is set wrong or
some of the projects are targeting the wrong platform.