|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
EntLibConfig.exe - strong name validation failedupgrade 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 You should remove the pulick Key config from config file manually.
Show quote "Sehboo" <MasoodAd***@gmail.com> ???? news:1193237890.126102.119800@z24g2000prh.googlegroups.com... > 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. Show quote On Oct 24, 11:38 am, "cokkiy" <cok***@gmail.com> wrote: > You should remove the pulick Key config from config file manually. > "Sehboo" <MasoodAd***@gmail.com> ????news:1193237890.126102.119***@z24g2000prh.googlegroups.com... > > > > > 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 - |
|||||||||||||||||||||||