p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 (http://p2p.wrox.com/forumdisplay.php?f=393)
-   -   how can i compile a cs file (http://p2p.wrox.com/showthread.php?t=86637)

Mido_C#4ever February 11th, 2012 02:42 PM

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[:o]
thanks [:D]

irProject February 12th, 2012 08:39 AM

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"


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

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