EntLibConfig.exe - strong name validation failed

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
 
S

Sehboo

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 -
 

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