Problem with Digitally Signing Assemblies...

Narendra has written a good post on resolving the problem related to Digitally Signing of Assemblies is .Net 2.0
(url : http://geekswithblogs.net/narent/archive/2006/02/15/69536.aspx)

The problem is:

1. To digitally sign assemblies “AssemblyIncludeSigningInformation” must be set to true, but once it is set to true
   it becomes mandatory to write “AssemblyDelaySign” attribute in AssemblyInfo.cs file.
2. There is a logical error in the code (of AssemblyInfoTask.cs), which is mentioned by Narendra in the post.

For any user it will become a problem in case assembly is to be digitally signed.
As no where it is mentioned that DelaySign Attribute must be added in the AssemblyInfo.cs file and also how the
AssemblyDelaySign value must be given (i.e. it should not be left blank).
For e.g. this is an incorrect entry [assembly: AssemblyDelaySign()]

If the incorrect entry is given, it will get converted to [assembly: AssemblyDelaySign(“false”)]
which will further lead to error in compilation.

Where as Correct Entry must be: [assembly: AssemblyDelaySign(false)]

posted @ Monday, February 20, 2006 6:54 PM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 2 and 5 and type the answer here:
 

Live Comment Preview:

 
«September»
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011