|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
strong name validation failed: compiled in VS 2005 (.NET 2.0) but running under .NET 1.1vs2005 (e.g., .NET 2.0) and now want to execute it on .NET1.1. The following is my entire config file: <configuration> <startup> <supportedRuntime version="v1.1.4322"/> <supportedRuntime version="v2.0.50727"/> </startup> </configuration> When I execute the .exe on a machine with .NET1.1 only, I got a "strong name validation failed. Strong name validation failed for assembly foo.exe. The file may have been tampered with or it was partially signed but not fully signed with private key.". Since the .exe is NOT signed (verified by sn.exe). Any idea what went wrong? Thanks. Kong >I have a simple unsigned .exe (only calls Microsoft assembly) built by That will not work, the 1.1 runtime will not load executables compiled>vs2005 (e.g., .NET 2.0) and now want to execute it on .NET1.1. for 2.0. I'm surprised by the error message you get though, it usually says something about invalid metadata. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
Other interesting topics
|
|||||||||||||||||||||||