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
Loading

Replies
Know the answer? Post it — somebody with the same question will find it here.