[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
31.3 Running .NET programs on Microsoft .NET platforms
Bigloo uses Portable.NET assembler and linker to produce .NET binaries. As such, produced binaries are linked and signed against Portable.NET runtime libraries and are rejected by Microsoft .NET platforms. In order to run Bigloo .NET binaries on Microsoft .NET platforms, binaries must first be disassembled and then reassembled and linked against Microsoft runtime libraries.
The pnet2ms utility automates this process. Before the first use of pnet2ms, a public+private key pair must first be registered to the "Bigloo" container. You may either use the provided pair in the bigloo.dotnetkey file or generate your own using:
sn -k bigloo.dotnetkey
The pair must be registered using:
sn -i bigloo.dotnetkey Bigloo
The pnet2ms program can be ran with:
pnet2ms myprogram.exe
Additional command-line options are:
-initlocals force all local variables to be initialized to their default value upon function entrance (for PEVerify to succeed) -k Keep intermediate files -register Register DLLs in the Global Assembly Cache -v Enable verbose mode -v2 Enable very verbose mode -v3 Enable very very verbose mode
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on October 23, 2011 using texi2html 5.0.