Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 April 21st, 2005, 10:25 AM
Registered User
 
Join Date: Apr 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question in Chp13 of Beggining ASP.Net

I have started the Chapter 13 of the book and it is about .Net Assemblies and Custom controls. I have only installed WebMatrix, .Net Framework Redistributable and SDK. On the compilation part, I have created the compile.bat already but when I run the batch file, an error saying 'csc' is not recognized as an internal or external command, also in the book, it is stated that I have to check my whether my environment variables are configured correctly and that there is a tutorial on how to do this available with the code download in this site. I cant seem to find that tutorial. Can anyone assist me? Thanks.

 
Old April 21st, 2005, 11:54 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

CSC.exe is the C# compiler and you can find that in the folder
\WINDOWS\Microsoft.NET\Framework\{version}. you can either give the full path or add it to the path using the PATH command.

Regards
Ganesh
 
Old April 22nd, 2005, 02:17 AM
Registered User
 
Join Date: Apr 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply but I'm still clueless at this point. I mean how to do it? I can do asp.net pages already, been building applications but now I was hoping I could take this to another level by doing on code behind and assemblies. Can you please show the exact codes on how to do it? Like here for example:

cd c:\BegASPNET11\Chapter13
md bin
csc /t:library /r:System.dll /out:bin/HelloWorldCS.dll HelloWorld.cs
pause

Do I have to put anything aside from this? Thanks.
 
Old April 22nd, 2005, 02:50 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

Code:
cd c:\BegASPNET11\Chapter13
md bin
c:\WINDOWS\Microsoft.NET\Framework\{version}\csc /t:library /r:System.dll /out:bin/HelloWorldCS.dll HelloWorld.cs
pause
Regards
Ganesh
 
Old April 22nd, 2005, 04:05 AM
Registered User
 
Join Date: Apr 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks r_Ganesh, its now working. :D
 
Old April 22nd, 2005, 11:35 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

cheers

Regards
Ganesh





Similar Threads
Thread Thread Starter Forum Replies Last Post
Beggining VB.net 2.0 with c# errata? Eduardo Lorenzo BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 March 29th, 2007 12:47 AM





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