Random Stuff

Random notes and thoughts that may or may not be of use to someone.

Tuesday, October 30, 2007

.NET - unsigned assemblies

Jyothish did some puzzle sovling - we had a unsigned .NET assembly, that we had to pull into unmanaged JNI code so we could call it from Java.

Problem was - you need signed assemblies to do it. The answer:

>sn -k Key.snk

>ildasm /out:MyHelper.il MyHelper.dll

>ilasm MyHelper.il /KEY=key.snk /DLL /OUTPUT=MyHelper.dll

The output can now be added to the global cache, and you can have a party
Posted by Sybrand at Tuesday, October 30, 2007 No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

Sybrand
View my complete profile

Blog Archive

  • ►  2018 (1)
    • ►  April (1)
  • ►  2017 (1)
    • ►  March (1)
  • ►  2015 (3)
    • ►  February (1)
    • ►  January (2)
  • ►  2014 (6)
    • ►  October (1)
    • ►  August (1)
    • ►  July (2)
    • ►  April (1)
    • ►  March (1)
  • ►  2010 (3)
    • ►  June (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2009 (10)
    • ►  December (5)
    • ►  November (1)
    • ►  October (2)
    • ►  August (1)
    • ►  February (1)
  • ►  2008 (3)
    • ►  September (1)
    • ►  August (1)
    • ►  May (1)
  • ▼  2007 (11)
    • ▼  October (1)
      • .NET - unsigned assemblies
    • ►  September (2)
    • ►  March (1)
    • ►  February (1)
    • ►  January (6)
  • ►  2006 (3)
    • ►  December (3)
  • ►  2005 (6)
    • ►  November (2)
    • ►  October (1)
    • ►  September (1)
    • ►  June (1)
    • ►  January (1)
  • ►  2004 (1)
    • ►  August (1)

Friends

  • Carli
  • Johan Jordaan
  • Olivia Pig
  • Timothy Twelves
Simple theme. Powered by Blogger.