How do I fix this error warning

R

Robert Bravery

Hi,

When compiling an app in C#2005 I receive this warning:
Warning 1 Invalid search path 'C:\Program Files\Microsoft Visual Studio
..NET\FrameworkSDK\Lib\' specified in 'LIB environment variable' -- 'The
system cannot find the path specified. '

Can any one offer some advice

Thanks
Robert
 
T

Tom Porterfield

Robert said:
Hi,

When compiling an app in C#2005 I receive this warning:
Warning 1 Invalid search path 'C:\Program Files\Microsoft Visual Studio
.NET\FrameworkSDK\Lib\' specified in 'LIB environment variable' -- 'The
system cannot find the path specified. '

Remove that path from your lib environment variable. If this is on XP,
right click on My Computer and select Properties. Go to the Advanced tab
and click the Environment Variables button. Scroll down in the list of
System variables and vind the variable called lib. Double click on it to
edit. Remove the invalid value, being careful not to modify any valid
values. OK and OK once you are done. If you had C#2005 running, shut it
down and start it again so it will pick up the change in environment
variable.
 
R

Robert Bravery

Thanks
Robert

Tom Porterfield said:
Remove that path from your lib environment variable. If this is on XP,
right click on My Computer and select Properties. Go to the Advanced tab
and click the Environment Variables button. Scroll down in the list of
System variables and vind the variable called lib. Double click on it to
edit. Remove the invalid value, being careful not to modify any valid
values. OK and OK once you are done. If you had C#2005 running, shut it
down and start it again so it will pick up the change in environment
variable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top