How do you sign an assembly that was generated by an ILMerge operation?

I managed to use ILMerge to merge all the assemblies I have in my project into a single assembly, but the problem is there doesn't seem to be a way to sign the merged assembly.

Is there some sort of command line option or command that I can run that would let me add a strong name to the merged assembly generated by ILMerge?

Answers


You need to use the following commandline to sign:

al /out:MyAssembly.dll MyModule.netmodule /keyfile:sgKey.snk

If you would like to learn more, please visit: http://msdn.microsoft.com/en-us/library/xc31ft41.aspx


ilmerge ... /keyfile:key.snk


Need Your Help

Jquery: how to automatically force a textbox to keyup in every 1 hour

javascript jquery ajax

I want to automatically fire the below function on every 1 hour. This is actually for currency converter, currently my below function takes action only if users enter/changes any value in the first

How to run periodic processes on SQL Server 2008

c# asp.net sql sql-server-2008

I've built a very simple chatroom-like ASP.NET application which displays current Online/Offline users:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.