M Monsterman22 Member Aug 14, 2010 #1 Hi all. Can somebody help me launch csc.exe from cmd.exe? I copied the v3.5 folder(which contains csc.exe) to the User folder C:\Users\User>v3.5\csc fatal error CS2008 : input data not specified(translated from my language) I don't have a clue what data are to be specified. :sign0085:
Hi all. Can somebody help me launch csc.exe from cmd.exe? I copied the v3.5 folder(which contains csc.exe) to the User folder C:\Users\User>v3.5\csc fatal error CS2008 : input data not specified(translated from my language) I don't have a clue what data are to be specified. :sign0085:
agraham Expert Licensed User Longtime User Aug 14, 2010 #2 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
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
M Monsterman22 Member Aug 14, 2010 #3 I wanted to be able to launch csc.exe on machines with no C# IDE, but after reading your reply I give up the idea.:sign0148:
I wanted to be able to launch csc.exe on machines with no C# IDE, but after reading your reply I give up the idea.:sign0148: