Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > General > Chit Chat
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Chit Chat The place for open discussions.

Another C# question(beginner)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-14-2010, 02:01 PM
Knows the basics
 
Join Date: Jul 2010
Location: St.Petersburg
Posts: 59
Default Another C# question(beginner)

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.
Reply With Quote
  #2 (permalink)  
Old 08-14-2010, 09:15 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

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.

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\M SCorLib.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\S ystem.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\S ystem.Drawing.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\S ystem.Windows.Forms.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\M icrosoft.VisualBasic.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\S ystem.XML.dll"
/r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\S ystem.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
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #3 (permalink)  
Old 08-14-2010, 09:55 PM
Knows the basics
 
Join Date: Jul 2010
Location: St.Petersburg
Posts: 59
Default

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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginner: How to download a text file via ftp eatcows Questions (Windows Mobile) 2 02-08-2010 04:31 PM
help please for beginner Rob2009 Questions (Windows Mobile) 2 10-25-2009 08:47 PM
Basic Help 4 Beginner outlawz Questions (Windows Mobile) 5 12-09-2008 01:53 PM
Beginner sample application gycs Questions (Windows Mobile) 1 09-11-2008 11:58 AM


All times are GMT. The time now is 09:21 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0