error on build

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

When i build my project i get this error

warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual
Studio .NET 2003\SDK\v1.1\Lib\' specified in 'LIB environment variable' --
'The system cannot find the path specified. '

this is in .NET 2.0, so im not sure why there are still references to 1.1,
where do i fix this reference at? thanks!
 
Brian Henry said:
When i build my project i get this error

warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual
Studio .NET 2003\SDK\v1.1\Lib\' specified in 'LIB environment variable' --
'The system cannot find the path specified. '

this is in .NET 2.0, so im not sure why there are still references to 1.1,
where do i fix this reference at? thanks!

Well, what does your LIB environment variable look like? That sounds
like the kind of error you get if you run the 1.1 environment batch
file and then try to compile 2.0 code.
 
I couldn't tell you i dont work with C# normally just VB.NET this is code
someone else wrote... no idea where to look
 
Brian Henry said:
I couldn't tell you i dont work with C# normally just VB.NET this is code
someone else wrote... no idea where to look

Well, that wasn't a particularly C#-dependent question. Just type "set
LIB" at the command prompt and cut and paste the results...
 
C:\Program Files\Microsoft Visual Studio 8\VC>set lib
LIB=C:\Program Files\Microsoft Visual Studio 8\VC\LIB;C:\Program
Files\Microsoft
Visual Studio 8\SDK\v2.0\lib;C:\Program Files\Microsoft Visual Studio .NET
2003
\SDK\v1.1\Lib\
LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727


now i see it.. it's in the path...
 
Back
Top