EntLibConfig.exe - strong name validation failed

  • Thread starter Thread starter Sehboo
  • Start date Start date
S

Sehboo

We are using enterprise library (EL) in our application. We want to
upgrade our application from .net 1.1 to .net 2.0. Since we have
changed code in enterprise library, we can't just go with the newer
version, we will have to keep the old version.

All out assemblies are strongly named!

I recompiled all the projects in EL with VS 2005, but if I try to run
EntLibConfig.exe then I get the error that Could not load file or
assembly EntLibConfig.exe or one of its dependency. Strong name
validation failed.

All the projects were compiled with the same old public key.

Here are the entries in our GlobalAssemblyInfo.cs file

[assembly: AssemblyDelaySign(true)]
[assembly: AssemblyKeyFile(@"c:\shared\keys\prod-Public.snk")]
[assembly: AssemblyKeyName("")]

Anybody knows what I need to do?

thanks
 
Why do I need to remove the PublicKeyToken from config file? I am
using the same public key.

You should remove the pulick Key config from config file manually.
"Sehboo" <[email protected]> ????

We are using enterprise library (EL) in our application. We want to
upgrade our application from .net 1.1 to .net 2.0. Since we have
changed code in enterprise library, we can't just go with the newer
version, we will have to keep the old version.
All out assemblies are strongly named!
I recompiled all the projects in EL with VS 2005, but if I try to run
EntLibConfig.exe then I get the error that Could not load file or
assembly EntLibConfig.exe or one of its dependency. Strong name
validation failed.
All the projects were compiled with the same old public key.
Here are the entries in our GlobalAssemblyInfo.cs file
[assembly: AssemblyDelaySign(true)]
[assembly: AssemblyKeyFile(@"c:\shared\keys\prod-Public.snk")]
[assembly: AssemblyKeyName("")]
Anybody knows what I need to do?
thanks- Hide quoted text -

- Show quoted text -
 
Back
Top