Re book: Beginning ASP.NET1.1 with
VB.NET 2003 (#0764557076)
Chap.13 Pg. 475 âTry It Out. Compiling Our First ASP.NET Component"
The context of the Compile.bat file is:
cd c:\BegASPNET11\Chapter13
md bin
vbc /t:library /r:System.dll /out:bin/HelloWorld.dll HelloWorld.
vb
pause
but when I try to recreate the HelloWorld.dll by double clicking the Compile.bat in Explorer I am getting a â âvbcâ is not recognized as an internal or external command, operable program or batch file â error in the Command Prompt window.
The book sample works because it comes with the dll file already installed. But when it comes to compile my own, I am stack on the middle of the book. HELP anyone please!!!
CONT.
I found some leads in Selected Forums and followed on them and found to have three VBC.exe application.
Windows/SevicePack, Windows/Microsoft.net/Framework1.1, and /Framework2.0
(what is VBC.exe-####### in windows/prefetch?)
I copy the VBC.exe from ServicePack to the Compile.bat file folder only to have the Command Prompt Window asking for more dll files each time I supply.
I entered the path in the compile.bat to the VBC.exe in windows directory like:
C:\windows\servicePackFiles\i386\vbc.exe /t:library /r:System.dll /out:bin/HelloWorld.dll HelloWorld.
vb
Only to get the following error on dbl click.
msgBox Err.: âEntry point not found.
The procedure entry point GetRequestRuntimeInfo could not be located in the dynamic link library mscoree.dll.
Error repeated 3 times then in the Command Prompt:
Fatal error BC2000: compiler initialization failed unexpectedly: âC:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\s ystem.dllâ cannot be referenced because it is not an assembly.
(why does it reference MS.NET when I directed it to servicePackFiles?)
I tried to recreate the project in Visual Studio 2003 v7.1 with NET Framework 1.1 but I have no clue how to compile in here. The closest I could find build/build compiling do not react to any of the loaded files, and Tools doesnât reference any compiling at all.
I guess there will be no assemblies and custom controls in my apps @#!!*.
Great Thanks in advance!
Henry