473,499 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I fix this error warning

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
Jun 7 '06 #1
2 1461
Robert Bravery wrote:
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.
--
Tom Porterfield

Jun 7 '06 #2
Thanks
Robert

"Tom Porterfield" <tp******@mvps.org> wrote in message
news:ey**************@TK2MSFTNGP02.phx.gbl...
Robert Bravery wrote:
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.
--
Tom Porterfield

Jun 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4108
by: Cary | last post by:
Trying to install on SuSE 8.2 from source. ../configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-unixODBC=/usr/lib getting this error: /root/php-4.3.2/ext/odbc/php_odbc.c -o...
14
1911
by: kosuke | last post by:
I keep getting the following error/warning message when using the python based program getmail4: /usr/lib/python2.3/optparse.py:668: FutureWarning: %u/%o/%x/%X of negative int will return a...
1
2689
by: Azzedine | last post by:
Dear All, I compiled a project under Unix, I have got the following errors: ------------------------------------------ CC -I. -DUNIX -c XPCFileStat.C -g -o XPCFileStat.o "XPCFileStat.C",...
1
4355
by: yanwan | last post by:
Hello I met some problems in linking a project, and hope someone can give me some advice. -----------Configuration: lighting - Win32 Release-------------------- Linking... LINK : warning...
0
1697
by: mmarkzon | last post by:
I have been struggling compiling linkchecker from http://linkchecker.sourceforge.net/. The last thing I get is "error: command 'gcc' failed with exit status 1" which is not very helpful. This is...
2
5298
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
7
3284
by: i | last post by:
#include<stdio.h> #include<conio.h> #include<process.h> #include<string.h> char ch; int w; int n,m; //void main(); char check(int n,int m,char ch); void cash(int n,int m,char ch);
0
2087
by: bill gates | last post by:
I was trying to use msbee to build an old project. I don't want to upgrade to dotnet2.0. Is there any way to get this to compile using DevStudio 2005 using dotnet1.1. ? Build FAILED....
39
8232
by: Tsb | last post by:
Now I use FreeBSD 7.0 Current with Gnome. And I use Anjuta IDE to write my C program, and then just do like this. #gcc MYFILE.NAME -o MYFILE.NAME #MYFILE.NAME then it works well. but second...
1
5704
by: dewi | last post by:
Dear All, I am trying to compile a C code using Visual C++. Can anyone explain how to solve it? Thank You. #include <math.h> #include <string.h> #include "RV2AJFRONT_NEW.h" #include...
0
7128
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5467
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4597
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3088
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1425
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
294
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.