.Net Framework target

Ovidiu MacSiniuc <[email protected]>
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hello everybody,

I could not find any applicable similarities in the list archive so I call for your help again:

Is there a way to specify the target .Net Framework for assembly compiled with ikvmc ?

I observed (using CorFlags.exe) that on windows the target is 2.0.50727. Running with Mono on Linux, I get 4.0.30319 as target version. That's strange as long as they are the same IKVM binaries.
I even tried to force Mono with --runtime=v2.0.50727, but without success. What forces ikvmc on Linux to target the 4.0 framework? 


Because the .Net version are different, the System.BadImageFormatException is thrown at runtime and the application abends.

Many thanks,
    Ovidiu

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.