I don't know what you want to do but invoking csc.exe yourself and passing it command line parameters is rather hair-shirted and best left to the real geeks. :sign0137:
csc.exe needs a large amount of data given to it. This is the command line for compiling a Basic4ppc app - it should be all on one line but the forum splits it up.
C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe /o /noconfig /nostdlib /platform:x86 /nologo /target:winexe /out:"C:\Users\Andy\AppData\Roaming\Anywhere Software\Basic4ppc\Tzor\1.exe" /define: DESKTOP @"C:\Users\Andy\AppData\Roaming\Anywhere Software\Basic4ppc\Tzor\1.rsp"
Note that most of the needed data is in the file "1.rsp" and that varies from app to app depending upon the assemblies needing to be referenced during the compilation and whatever libraries are to be merged but it looks a bit like this.
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSCorLib.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.XML.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.data.dll"
"C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries\Door.cs"
/r:"C:\Temp\Save\FormExDesktop.dll"
"C:\Users\Andy\AppData\Roaming\Anywhere Software\Basic4ppc\Tzor\Class1.cs"
Other.cs
CEnhancedForm.cs
CEnhancedObject.cs
CEnhancedTimer.cs
CEnhancedRadioBtn.cs
CEnhancedTable.cs
CEnhancedListBox.cs
CEnhancedButton.cs
DateTimePicker.cs
CEnhancedTextBox.cs
CEnhancedImage.cs
CEnhancedPanel.cs
CEnhancedNumUpDown.cs
CEnhancedLabel.cs
CEnhancedCheckBox.cs
CEnhancedCombo.cs