I am using the jsc.exe compiler that comes with the .Net Framework for compiling my JScript.Net scripts into executables. What is the right way to reference assemblies from the command line? I keep getting "the referenced assembly could not be found" errors so I must be doing something wrong.
This is what I tried:
jsc.exe /reference:System.Web.Dll MyScript.jsn
jsc.exe /reference:System.Web.Dll /lib:C:\Windows\assembly MyScript.jsn
jsc.exe /reference:System.Web.Dll /lib:C开发者_JS百科:\Windows\assembly\GAC_32 MyScript.jsn
精彩评论