Re: Run JScript.Net executable on Compact Framework
- From: meskensjan@xxxxxxxxx
- Date: Wed, 13 Aug 2008 13:11:36 -0700 (PDT)
On 13 aug, 21:14, "Anthony Jones" <A...@xxxxxxxxxxxxxxxx> wrote:
<meskens...@xxxxxxxxx> wrote in message
news:078e6121-3403-4eaf-8fbc-e7781b4f9b49@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
I have a question regarding to JScript.Net on the Compact.Net
framework.
On the NET 3.5 desktop platform I made a JScript file which I compiled
to a executable (using the jsc compiler). Now I want to run this
executable on a mobile device. Therefore I compiled the JScript file
with the jsc command using the Compact.net 3.5 librarys. This works
fine and an executable is created.
However, once I try to execute this JScript file on my mobile device
an error is thrown: the Microsoft.JScript namespace is not found.
According to my opinion this is a strange error: I am not using
JScript directly on the mobile device but a compiled .NET executable.
Is this not supposed to work because it's using .NET's intermediate
language?
I will summarize my story with the central question: Is there a way to
use compiled JScripts (could be dll's or executables) on mobile
devices? Or, are there any workarounds to solve this problem?
The JScript language contains constructs that are not built directly to IL
alone, but rather build on the Microsoft.JScript namespace. Hence it is not
possible to run a assembly compiled with JSC without the assemblies that
supply this namespace present also.
Ok, I understand what you mean.
Why aren't you using C# for this?
In fact I am building two versions of a program in Java and C#. On
both platforms the user can extend the functionality of the program by
scripting (javascript). On the Java platform I implemented this using
Rhino, on the .NET platform I use jscript.net. However, when I want to
port my program to the .NET compact framework it is not possible to
find a way to integrate the javascripting mechanism... . Any
suggestions here are welcome :-)
Thanks already for your help.
Best regards,
Jan Meskens
.
- References:
- Run JScript.Net executable on Compact Framework
- From: meskensjan
- Re: Run JScript.Net executable on Compact Framework
- From: Anthony Jones
- Run JScript.Net executable on Compact Framework
- Prev by Date: Re: Run JScript.Net executable on Compact Framework
- Next by Date: Echo without newline query
- Previous by thread: Re: Run JScript.Net executable on Compact Framework
- Next by thread: Echo without newline query
- Index(es):
Relevant Pages
|
Loading