I have the source code of Entlib 5.0, and I need to sign all assemblies using my own key (snk file).
The easiest way is to open the EnterpriseLibrary.2010 solution file in Visual Studio 2010 , and for each project, select Properties-> Sign , then select Sign assembly and finally select your key file.
But I do not want to do this manually, then I could write a script to manually edit the project files and paste the following at the end of the current PropertyGroups list:
<PropertyGroup> <SignAssembly>true</SignAssembly> </PropertyGroup> <PropertyGroup> <AssemblyOriginatorKeyFile>keyFile.snk</AssemblyOriginatorKeyFile> </PropertyGroup>
Any helper class in C # or scripts, if it would be better to do this in a simple and quick way?
Kiquenet
source share