Re: Run JScript.Net executable on Compact Framework
- From: "Anthony Jones" <Ant@xxxxxxxxxxxxxxxx>
- Date: Wed, 13 Aug 2008 20:14:24 +0100
<meskensjan@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.
Why aren't you using C# for this?
--
Anthony Jones - MVP ASP/ASP.NET
.
- Follow-Ups:
- Re: Run JScript.Net executable on Compact Framework
- From: meskensjan
- Re: Run JScript.Net executable on Compact Framework
- References:
- Run JScript.Net executable on Compact Framework
- From: meskensjan
- Run JScript.Net executable on Compact Framework
- Prev by Date: Run JScript.Net executable on Compact Framework
- Next by Date: Re: Run JScript.Net executable on Compact Framework
- Previous by thread: Run JScript.Net executable on Compact Framework
- Next by thread: Re: Run JScript.Net executable on Compact Framework
- Index(es):
Relevant Pages
|