471,354 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

?? Warning using Command Line Compile ??

I just set up VS 2008 B2 and did a simple command line compile from the VS
command prompt.

I received this warning:

warning CS1668: Invalid search path 'C:\Program Files\Microsoft
SDKs\Windows\v6.0A\lib' specified in 'LIB environment
variable' -- 'The system cannot find the path specified. '

When I checked, sure enough, the "lib" directory is not present'. Perhaps I
selected some combination of installation options that resulted in the "lib"
directory not being created.

I was just wondering if anyone has seen this.
--
Tom Baxter

Oct 7 '07 #1
3 4446
Tom,

I haven't seen it, but what is it that you are referencing that could be
there?

Also, if it is a warning that doesn't specify a directory, but it still
compiles, then perhaps it is an error with the install/project, and you can
modify the project properties to not include that path.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Tom Baxter" <tl********@newsgroup.nospamwrote in message
news:el**************@TK2MSFTNGP03.phx.gbl...
>I just set up VS 2008 B2 and did a simple command line compile from the VS
command prompt.

I received this warning:

warning CS1668: Invalid search path 'C:\Program Files\Microsoft
SDKs\Windows\v6.0A\lib' specified in 'LIB environment
variable' -- 'The system cannot find the path specified. '

When I checked, sure enough, the "lib" directory is not present'. Perhaps
I selected some combination of installation options that resulted in the
"lib" directory not being created.

I was just wondering if anyone has seen this.
--
Tom Baxter
Oct 7 '07 #2
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:08**********************************@microsof t.com...
Tom,

I haven't seen it, but what is it that you are referencing that could
be there?

I did a fresh install of VS 2008 B2. Then, I opened the VS command prompt
and did a simple command-line compile of HelloWorld C# program.

What's happening is the script that runs when I open a VS command prompt is
setting the LIB environment variable to a directory that does not exist. The
script I'm referring to is:

%comspec% /k ""C:\Program Files\Microsoft Visual Studio
9.0\VC\vcvarsall.bat"" x86

Also, if it is a warning that doesn't specify a directory, but it still
compiles, then perhaps it is an error with the install/project, and you
can modify the project properties to not include that path.
As I said, there is no "project" to modify. The Microsoft script is setting
the LIB variable to a directory that does not exist.


>
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Tom Baxter" <tl********@newsgroup.nospamwrote in message
news:el**************@TK2MSFTNGP03.phx.gbl...
>>I just set up VS 2008 B2 and did a simple command line compile from the VS
command prompt.

I received this warning:

warning CS1668: Invalid search path 'C:\Program Files\Microsoft
SDKs\Windows\v6.0A\lib' specified in 'LIB environment
variable' -- 'The system cannot find the path specified. '

When I checked, sure enough, the "lib" directory is not present'. Perhaps
I selected some combination of installation options that resulted in the
"lib" directory not being created.

I was just wondering if anyone has seen this.
--
Tom Baxter
--
Tom Baxter

Oct 7 '07 #3
Dear Tom ,

Thank you so much for the great feedback on Visual Studio 2008 beta 2. I
believe that other community members will also benefit from your experience
sharing. Would you help to submit the issue at
http://connect.microsoft.com/VisualStudio with reproducing steps? The
developer from Visual Studio product team may review the feedbacks from
customers. I appreciate your time and efforts working with us.

If you have any comments on our support service, website design, our
product limitation, our process, and etc., please don't hesitate to let me
know. I will do my best to follow up.

Have a nice day!

Sincerely,
Jialiang Ge (ji****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 9 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

121 posts views Thread by typingcat | last post: by
29 posts views Thread by Daniel Rudy | last post: by
3 posts views Thread by Bill Burris | last post: by
5 posts views Thread by Gary Wessle | last post: by
3 posts views Thread by ashnin | 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.