Hello.
I have created a class, "CompiledPage.vb", and I need to compile it. When I
run (using the VSNet Command Prompt):
__________________________________________________ __________
C:\Documents and Settings\Administrator>vbc /t:library /r:system.dll,
system.web.dll, "C:\Documents and Settings\Administrator\My Documents\My
Projects\ASPNETProjects\VSNet\CompiledForm\Compile dPage.vb"
__________________________________________________ ___________
I get:
__________________________________________________ ___________
Microsoft (R) Visual Basic .NET Compiler version 7.00.9951
for Microsoft (R) .NET Framework version 1.00.3705.6018
Copyright (C) Microsoft Corporation 1987-2001. All rights reserved.
vbc : Command line error BC2001 : file 'system.web.dll,' could not be found
__________________________________________________ ___________
However, it *IS* really there, in
"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705" .
I also checked corvars.bat, and it contains what I need (I edited it a but
for clarity, creating separate lines for each folder):
__________________________________________________ ___________
Set Path=C:\Program Files\Microsoft Visual Studio NET\FrameworkSDK\Bin\;
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\;
C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin\;
C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\;
%PATH%
Set LIB=C:\Program Files\Microsoft Visual Studio .NET\Vc7\lib\;
"C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\";
%LIB%
Set INCLUDE=C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\;
"C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\";
%INCLUDE%
Set NetSamplePath=C:\PROGRA~1\MICROS~1.NET\FRAMEW~1\Sa mples\
__________________________________________________ ___________
I'm puzzled. Do I need to re-register system.web.dll ? I don't think so,
because VS.NET works fine. It's only this vbc which gives me headaches.
I have *TWO* net frameworks, actually: the one which came with my VS.NET
(C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\) and the one which came with
windows (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\). I wonder.... could
*THIS" be the problem ?
Thanks a lot, Alex