Signed Assembly Setup Project Issue with x86 and x64

F

Fritz

In my solution I target both x64 and x86 platforms. I have two setup
projects one x64 and one for x86. When I change from one platform to
the other I see the "Detect Dependencies" refreshing in the setup
projects (while doing a "Rebuild"). The "SourcePath" for the unsigned
assemblies all correctly change to reflect the proper platform.
However, the "SourcePath" does not update to reflect the proper
platform for the signed assemblies. Those stay fixed to which ever
platform was set when the IDE started (VS2008 SP1). The result is I
have an MSI package that installs both 32 bit and 64bit dlls and I get
the "BadFormatException". My workaround is make sure I perform "Clean
Solution" after changing platforms. I would expect the signed
assemblies to change like the unsigned ones without forcing a manual
"Clean Solution". If anyone has information on what may be going one,
please let me know. Thanks in advance,

- Fritz
 
K

Keith Ruralls (gentlerobbinATgmail) - webdesigner-

In my solution I target both x64 and x86 platforms. I have two setup
projects one x64 and one for x86. When I change from one platform to
the other I see the "Detect Dependencies" refreshing in the setup
projects (while doing a "Rebuild"). The "SourcePath" for the unsigned
assemblies all correctly change to reflect the proper platform.
However, the "SourcePath" does not update to reflect the proper
platform for the signed assemblies. Those stay fixed to which ever
platform was set when the IDE started (VS2008 SP1). The result is I
have an MSI package that installs both 32 bit and 64bit dlls and I get
the "BadFormatException". My workaround is make sure I perform "Clean
Solution" after changing platforms. I would expect the signed
assemblies to change like the unsigned ones without forcing a manual
"Clean Solution". If anyone has information on what may be going one,
please let me know. Thanks in advance,

- Fritz

Hmmm, a fizzy solution I can rack my brain of after skimming your
message will probably be an incompatibility of the projetc you are
recompiling and run on your own ide, the delegate as you call yourself
is missing as the whole program still thows an exception at the
unknown class, if your program is small emought then trace it back
with a breakpoint.
I have no such a problem for ALL of the project I copied and pasted in
to my 08IDE.
Second thought comes to mind is CHANGE YOUR OWN COMPILER AND LINKER
OPTION to make it work. Defintely this should be a clear concrete
showing carried out by yourself in line with what people can observe,
which is evident for the coming step-up.

Hope that helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top