views:

1285

answers:

2

Two machines. Both with .NET 3.5 and the VS 2008 VC++ SP1 redistributables

A single exe which uses two signed DLLs, one in C++/CLI and one in C#

The exe loads and runs fine on one machine.

On the other, I get "Strong Name Validation Failed" on the C++ executable (HRESULT 0x8013141A)

Any ideas?

A: 

Is the supportedRuntimeVersion set correctly in the configuration section of the .exe.config?

Jim Anderson
+2  A: 

Is the one the code runs on a "development" machine where you might have run "sn.exe -Vr AssemblyName.dll" at some stage which would allow you to use a delay signed assembly as if it were fully signed. When you transfer the delay signed assembly to another machine and run it, it will fail strong name validation because it is not fully signed.

Colin Desmond