Questions tagged [jsil]

JSIL is a compiler that transforms .NET applications and libraries from their native executable format.

JSIL is a compiler that transforms .NET applications and libraries from their native executable format - CIL bytecode - into standards-compliant, cross-browser JavaScript.

http://jsil.org/

4 questions
9
votes
1 answer

How to access a basic JSIL library (from C#) in a web page?

I'm trying to get started with JSIL. I've followed the directions as far as I understand. I have a very basic C# dummy project with the code: namespace TestLib { public class MagicType { public int Multiply(int x, int y) { //…
Marc Gravell
  • 1,026,079
  • 266
  • 2,566
  • 2,900
1
vote
1 answer

Trying to build JSIL gives 47 errors

I am trying to build the JSIL project. I already have a XNA game which I want to convert to use in a webbrowser via JSIL. I've followed up all the instructions on the JSIL wiki. Yet it gives me 47 errors when I try to build the project. I can't find…
Kraishan
  • 443
  • 5
  • 14
  • 38
0
votes
1 answer

Trouble getting JSIL to compile

Every modern version of JSIL I ever try to get working with XNA ends up with this error. Everywhere I've ever looked in the past for information about why it doesn't run ends up with an answer about XNA 4.0 not being installed properly or…
0
votes
1 answer

JSIL and DllImport

I try to convert sample .net application with P/Invoke to javascript with JSIL. C# code: [DllImport("JSTestLib", EntryPoint = "Get42", CallingConvention = CallingConvention.Cdecl)] public unsafe static extern int Get42(); Generated…
Vladimir Vlasov
  • 1,860
  • 3
  • 25
  • 38