471,325 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

error on build

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!
Dec 8 '05 #1
4 4432
Brian Henry <no****@nospam.com> wrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Dec 8 '05 #2
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

"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Brian Henry <no****@nospam.com> wrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Dec 8 '05 #3
Brian Henry <no****@nospam.com> wrote:
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...
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Dec 8 '05 #4
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.50 727
now i see it.. it's in the path...

"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Brian Henry <no****@nospam.com> wrote:
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...
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Dec 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Yi Xing | last post: by
2 posts views Thread by John | last post: by
2 posts views Thread by akhilesh.noida | last post: by
1 post views Thread by Owen Zhang | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.