Sanket Terdal

Sanket Terdal

  • 483
  • 2.9k
  • 671.4k

JScript 10.0 compiler /.Net Framework 4.0 Oracle Client

Jul 27 2010 10:45 AM

I have created Jscript file name jscript2.js it has following simple code.
=================================
import System;
import System.Data;
import System.Data.OracleClient;
    class DefaultValidator
    {              
       
         var conn : OracleConnection = new OracleConnection("");
    }
============================================
When I compile it using VS 2008 command prompt (following command) , dll is created.
jsc /out:d:\test.dll d:\jscript2.js
 
But when I compile it using VS 2010 commnd prompt it gives me error related to reference assembly.
Let me know if anyone can help me.
Thanks,
Sanket