AssemblyKeyFile is not being updated [solved]

Mar 18, 2009 at 10:08 AM
Edited Mar 18, 2009 at 10:10 AM


I'm using MSBuildExtensionPack successfully for different purposes. Unfortunately, it fails updating or setting AssemblyKeyFile and AssemblyDelaySign using the task "MSBuild.ExtensionPack.Framework.AssemblyInfo".Other attributes like AssemblyDescription work perfectly. What's going wrong?

My task looks like:


<MSBuild.ExtensionPack.Framework.AssemblyInfo AssemblyInfoFiles="%(AssemblyInfoFile.Identity)"

AssemblyKeyFile="c:\key.snk" AssemblyDelaySign="true" AssemblyDescription="my description"/>


Any ideas?

Mar 18, 2009 at 12:51 PM


I found that the flag AssemblyIncludeSigningInformation must be set to true.