Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / December 2003

Tip: Looking for answers? Try searching our database.

How to add a strongname key to a assembly created with ilasm.exe(Intermediate Language) or to an already made DLL?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bRaNcO - 23 Dec 2003 06:47 GMT
How can i accomplish this? I want to be able to put a DLL of mine in
the GAC(It must have a STRONG name) but the following command is not
working:
ilasm "my_il_file.il" /DLL

I already tried to:
ilasm "my_il_file.il" /DLL /KEY="key_file.txt"
but it still didn't work

Could anyone enlighten me please? There should be still another way,
for already made DLL's/EXE's to turn them as strong assemblies I
think...
Thanks in advance
Mattias Sj?gren - 23 Dec 2003 07:32 GMT
>I already tried to:
>ilasm "my_il_file.il" /DLL /KEY="key_file.txt"
>but it still didn't work

So what happened? Did ILASM give you an error? Is key_file.txt a valid
key pair file (they usually don't have a .txt extension)? What happens
if you run Sn.exe -Tp my_il_file.dll on the generated assembly (if you
got one)?

Mattias

Signature

Mattias Sjögren [MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.