Groups | Blog | Home
all groups > visual studio .net setup > november 2004 >

visual studio .net setup : System.IO.FileLoadException : strong name validation failed for assembly


Phil Wilson
11/21/2004 1:05:56 PM
I think this happens when you have custom actions that are running as your
older version uninstalls, and the install is trying to call install custom
actions in another copy of the same assembly. I'm not sure that the message
is accurate, but it seems to be related to the install and uninstall both
trying to load what is the "same" assembly into the same AppDomain to call
custom actions. If the assembly naming attributes are identical in old and
new versions, what happens if you change the assemblyversion in the new
version of the product?
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

Ben
11/21/2004 5:50:22 PM
Hello
I have a problem when I am trying to istall a MSI upgrde file.
When I install this file when its not an upgrade it works just fine.
The problem takes plcae when a previous version of my application is
installed and I am trying
to instal an Upgrade.
In the Middle of the Upgrade installation i get this exception :
System.IO.FileLoadException : strong name validation failed for assembly
<filename.dll>
when filename is the name of one of my dll's that holds some Custom code
(install,uninstall,rollback,commit) for one of my MSM's.

maybe someone know what can be the problem ???

Thanks

Ben
11/22/2004 10:05:33 AM
Phil Hello

I tried to change the assemblyversion in each CA file.
I also changed the names of the CA's Classes and Namespcae
but there is no change ...
I still get that annoying message.

Do you have any other suggestions ???

waiting to hear from you
Ben
[quoted text, click to view]

Naor
1/7/2007 2:12:15 AM
Hi.
I've encountered with the same issue as Ben did.
It was long time ago, is there a solution to this issue?

Thanks,
Naor.

From http://www.developmentnow.com/g/58_2004_11_0_0_25697/System-IO-FileLoadException-strong-name-validation-failed-for-assembly.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button