Compile DLL by CLI

May 22, 2008 at 9:36 PM
Can anyone suggest to me the correct command to compile this DLL by csc.exe?  I don't have the visual studio.  I've got this command so far that produces a DLL but it's missing some namespaces:

csc /out:WinFX3270Library.dll /keyfile:Open3270.key /t:library /recurse:*.cs

I think if you have visual studio it might have a command that outputs a build batch file?  Can someone check this for me?
May 23, 2008 at 4:01 PM


s3gfault wrote:
Can anyone suggest to me the correct command to compile this DLL by csc.exe?  I don't have the visual studio.  I've got this command so far that produces a DLL but it's missing some namespaces:

csc /out:WinFX3270Library.dll /keyfile:Open3270.key /t:library /recurse:*.cs

I think if you have visual studio it might have a command that outputs a build batch file?  Can someone check this for me?

I eventually settled on this one:

csc /out:WinFX3270Library.dll /t:library /keyfile:Open3270.key Engine\ConnectionConfig.cs  Engine\TNEmulator.cs  Engine\TnXMLScreen.cs  Exceptions\TNHostException.cs  Exceptions\TNIdentificationException.cs  Exceptions\TNRouteException.cs  Interfaces\IAudit.cs  Interfaces\IXMLScreen.cs  Interfaces\StringAudit.cs  LogParser\TN3270ClientParser.cs  LogParser\TN3270HostParser.cs  TN3270E\TN3270API.cs  TN3270E\X3270\Events.cs  TN3270E\X3270\NetBuffer.cs  TN3270E\X3270\Stuff\actions.cs  TN3270E\X3270\Stuff\AID.cs  TN3270E\X3270\Stuff\ansi.cs  TN3270E\X3270\Stuff\Appres.cs  TN3270E\X3270\Stuff\CFormat.cs  TN3270E\X3270\Stuff\CG.cs  TN3270E\X3270\Stuff\Ctlr.cs  TN3270E\X3270\Stuff\ExtendedAttribute.cs  TN3270E\X3270\Stuff\Idle.cs  TN3270E\X3270\Stuff\Keyboard.cs  TN3270E\X3270\Stuff\print.cs  TN3270E\X3270\Stuff\see.cs  TN3270E\X3270\Stuff\sf.cs  TN3270E\X3270\Stuff\Tables.cs  TN3270E\X3270\Stuff\tn3270e_header.cs  TN3270E\X3270\Stuff\Util.cs  TN3270E\X3270\Telnet.cs  TN3270E\X3270\TNTrace.cs  TN3270Server\TN3270Serv

This is pretty much the same as above.  The main problem i was having was that the version of the dll i downloaded was different than the source code so my program was working differently with them.