|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Question about ALHi all,
I have private Assemblies (many) Now I am planing to put all in GAC. for XYZ reason. I have generated all keys for all assemblies one for each. assembly is A.dll key is a.key Question is is it possible to add a key file to a DLL directly without recompiling code ? Al has some syntax but giving me useless errors which I dont understand. Please suggest your comments Regards, Kishor sn.exe
More details here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconDelayedSigningAssembly.asp I would not sign each assembly with a different key, however. Keys are designed to identify the shop that signs, not the individual dll. -- Show quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA ************************************************* Think outside of the box! ************************************************* "kishor" <kis***@discussions.microsoft.com> wrote in message news:AFA451C8-F084-4378-8CB4-BF3E35ED33F9@microsoft.com... > Hi all, > I have private Assemblies (many) Now I am planing to put all in GAC. for > XYZ > reason. I have generated all keys for all assemblies one for each. > > assembly is A.dll key is a.key > > Question is > is it possible to add a key file to a DLL directly without recompiling > code ? > > Al has some syntax but giving me useless errors which I dont understand. > > Please suggest your comments > > Regards, > Kishor Hi,
Thanxs for your Information. This could be achieved, but in my case DLL is already Compiled. and when I issue following statement I get an error sn /Vr MG.dll MG.dll does not represent a strongly named assembly and sn -R MG.dll k.key Microsoft (R) .NET Framework Strong Name Utility Ver Copyright (C) Microsoft Corporation 1998-2002. All ri.............. MG.dll does not represent a strongly named assembly please Suggest. Kishor Show quote "Cowboy (Gregory A. Beamer)" wrote: > sn.exe > > More details here: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconDelayedSigningAssembly.asp > > I would not sign each assembly with a different key, however. Keys are > designed to identify the shop that signs, not the individual dll. > > -- > Gregory A. Beamer > MVP; MCP: +I, SE, SD, DBA > > ************************************************* > Think outside of the box! > ************************************************* > "kishor" <kis***@discussions.microsoft.com> wrote in message > news:AFA451C8-F084-4378-8CB4-BF3E35ED33F9@microsoft.com... > > Hi all, > > I have private Assemblies (many) Now I am planing to put all in GAC. for > > XYZ > > reason. I have generated all keys for all assemblies one for each. > > > > assembly is A.dll key is a.key > > > > Question is > > is it possible to add a key file to a DLL directly without recompiling > > code ? > > > > Al has some syntax but giving me useless errors which I dont understand. > > > > Please suggest your comments > > > > Regards, > > Kishor > > > |
|||||||||||||||||||||||