Wrox Programmer Forums
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 11th, 2012, 02:42 PM
Registered User
Join Date: Feb 2012
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default how can i compile a cs file


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
Old February 12th, 2012, 08:39 AM
Friend of Wrox
Join Date: Nov 2009
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
The Following User Says Thank You to irProject For This Useful Post:
Mido_C#4ever (February 14th, 2012)

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 08:02 AM
SQL in .cs file the_dude ADO.NET 2 January 27th, 2007 04:37 AM
How to compile - First.cs gau404 BOOK: Professional C#, 2nd and 3rd Editions 1 November 14th, 2005 03: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 06:27 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.