Environment error in C#

B

bob

I consistently get errors in library paths when trying to create simple
graphics apps using C#. My computer uses OS Vista, and I am using Standard
edition of Visual Studio 2008. I have no problems creating MFC apps and
simple console apps in VC++/CLR. I haven't
tried to create VC++/CLR graphics apps.

The error reads:

Invalid search path 'C:\program files\devstudio\vc\lib' specified in 'LIB
environment variable' -- The system cannot find the path specified.'

I created a simple Form, and used all the standard using statements pluys I
added using System.Drawing.Drawing2D. When i built the app I got three
Invalid search path errors.

How do I correct this environment problem?

Bob
 
P

Pavel Minaev

bob said:
I consistently get errors in library paths when trying to create simple
graphics apps using C#. My computer uses OS Vista, and I am using Standard
edition of Visual Studio 2008. I have no problems creating MFC apps and
simple console apps in VC++/CLR. I haven't
tried to create VC++/CLR graphics apps.

The error reads:

Invalid search path 'C:\program files\devstudio\vc\lib' specified in 'LIB
environment variable' -- The system cannot find the path specified.'

Either you're not building your C# project, or you're doing it in a
wrong way. C# compiler does not need or care about the value of the
LIB environment variable, and will never produce an error like that
while compiling code.

Please explain in detail how you have created your C# project (new
solution? or in existing solution), and how you're trying to build it.
 
G

gentlerobbin

I consistently get errors in library paths when trying to create simple
graphics apps using C#. My computer uses OS Vista, and I am using Standard
edition of Visual Studio 2008. I have no problems creating MFC apps and
simple console apps in VC++/CLR. I haven't
tried to create VC++/CLR graphics apps.

The error reads:

Invalid search path 'C:\program files\devstudio\vc\lib' specified in 'LIB
environment variable' -- The system cannot find the path specified.'

I created a simple Form, and used all the standard using statements pluysI
added using System.Drawing.Drawing2D. When i built the app I got three
Invalid search path errors.

How do I correct this environment problem?

Bob

There is no such a problem actually, if you can think up some new
ideas or problems to perhaps suck up Microsoft for the hosting
problems then meet Bill Gates if he agrees for an appointment to
discuss the issues, which I think sooner or later will come to light!
 

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