Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2008 > BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8
This is the forum to discuss the Wrox book Professional C# 2008 by Christian Nagel, Bill Evjen, Jay Glynn, Morgan Skinner, Karli Watson; ISBN: 9780470191378
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 11th, 2012, 01:42 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default how can i compile a cs file

hello

in pro C# 2008 book in page 27 i have created a cs file and named it 'First' and then i opened visual studio 2008 command prompt then i typed in 'csc First.cs'
but two errors appeared :1.error cs2001 :source file 'First.cs' couldn't be found
2.fatal error cs2008 : no input specified

so , what is the problem here !!
i am sorry for my English
thanks
Reply With Quote
  #2 (permalink)  
Old February 12th, 2012, 07:39 AM
Friend of Wrox
Points: 742, Level: 10
Points: 742, Level: 10 Points: 742, Level: 10 Points: 742, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2009
Location: Tehran, Iran
Posts: 156
Thanks: 13
Thanked 16 Times in 16 Posts
Default path error

Hi my friend.
there is a problem with First.cs path. you should write

csc "YOUR PATH\First.cs"

for example

csc "d:\Projects\TestProjects\Test1\First.cs"
__________________
happy every time, happy every where

Reza Baiat
Reply With Quote
The Following User Says Thank You to irProject For This Useful Post:
Mido_C#4ever (February 14th, 2012)
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ScopeTest2.cs does not compile frontier_teg BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 1 March 4th, 2011 07:02 AM
SQL in .cs file the_dude ADO.NET 2 January 27th, 2007 03:37 AM
How to compile - First.cs gau404 BOOK: Professional C#, 2nd and 3rd Editions 1 November 14th, 2005 02:19 AM
AssemblyInfo.CS Compile Error zamankazi BOOK: ASP.NET Website Programming Problem-Design-Solution 2 October 22nd, 2004 08:31 AM
Cannot compile siteheader.ascx.cs golfvilla BOOK: ASP.NET Website Programming Problem-Design-Solution 6 January 19th, 2004 05:27 PM



All times are GMT -4. The time now is 02:04 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.