Code Monkey home page Code Monkey logo

il2js's People

Contributors

liquidboy avatar mattpodwysocki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

il2js's Issues

IL2JSCOMPILER : error 1005: Unable to load assembly from file 'xxxxxx\IL2JS\bin\IL2JS_mscorlib.dll': invalid PEHeaderStandardFields.LMajor

When i try to compile a Silverlight 4 project, even the Ribbon example found in thirdparty, i get the following error:

IL2JSCOMPILER : error 1005: Unable to load assembly from file 'C:[XX replace with local folder XX]\IL2JS\bin\IL2JS_mscorlib.dll': invalid PEHeaderStandardFields.LMajor

I believe I have the right version of Silverlight 4, but from the above error im guessing that the mscorlib may be out of sync?

Anyone else encountering this issue when trying to compile SL4 dll's to JS ?

IL2JS_RunTime\Examples : -mode traced' must be accompanied by at least on of '-trace' or '-finalTraceName' options

Anyone else having issues compiling the examples in the Runtime solution ?

I get the following error : '-mode traced' must be accompanied by at least on of '-trace' or '-finalTraceName' options.

I believe its being raised from the IL2JSCOMPILER, something to do with the CompilerEnvironment and the CompilationMode within it ...

Still working out how this thing all hangs together, so any help from the community would be much appreciated :)

Cannot get mscorlib to be loaded

I'm having trouble trying this out, and I can't find any good examples that show how you actually compile a silverlight application to JS.

I'm invoking the rewriter (the only application with a help screen) with:

PS C:\source\IL2JS-master\bin> ./il2jsr -rewrite C:\FlatRedBallProjects\Test1\Test1\Test1\Bin\Debug\Test1.dll -out test.js -reference .\IL2JS_mscorlib.dll -reference .\IL2JS_JSTypes_silverlight.dll

When I run this I get

error 3005: Unable to load assembly from file 'C:\source\IL2JS-master\bin': cannot load mscorlib
1 errors, 0 warnings

The most I could make sense from the code it comes down to the AssemblyLoader.cs code:

mscorlib = CCI.SystemTypes.SystemAssembly;
 if (mscorlib == null || mscorlib.Directory == null)

The issue specifically is that mscorlib is not null, but mscorlib.Directory is null. Unfortunately, my attempts to trace this further haven't been successful.

Any help on how to use this would be greatly appreciated

tests don't run on Windows 8.1

I tried to build IL2JS using VS 2010 express for C#, since VS2010 Pro does not seem to be available any more.

I got it to build, and after some registry juggling got .]test to run, however the tests are giving me errors:

FAIL: Cannot build 'AmqpClient'
At C:\Users\jeffreykesselman\Projects\IL2JS-master\test.ps1:116 char:9

  •     throw "FAIL: Cannot build '$test'"
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (FAIL: Cannot build 'AmqpClien
      t':String) [], RuntimeException
    • FullyQualifiedErrorId : FAIL: Cannot build 'AmqpClient'

Just running il2jsc on the command line gives the following error:
PS C:\Users\jeffreykesselman\Projects\IL2JS-master\bin> il2jsc error 1016: No assembly name resembled the special assembly 'mscorlib' 1 errors, 0 warnings

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.