Re: ?? Warning using Command Line Compile ??
- From: "Tom Baxter" <tlbaxter99@xxxxxxxxxxxxxxxx>
- Date: Sun, 7 Oct 2007 13:41:28 -0500
"Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:083ED3AE-BC9F-4A1A-BAFF-54C732DB5A2D@xxxxxxxxxxxxxxxx
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]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Tom Baxter" <tlbaxter99@xxxxxxxxxxxxxxxx> wrote in message news:elCq0xJCIHA.5044@xxxxxxxxxxxxxxxxxxxxxxxI 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
.
- Follow-Ups:
- Re: ?? Warning using Command Line Compile ??
- From: Jialiang Ge [MSFT]
- Re: ?? Warning using Command Line Compile ??
- References:
- ?? Warning using Command Line Compile ??
- From: Tom Baxter
- Re: ?? Warning using Command Line Compile ??
- From: Nicholas Paldino [.NET/C# MVP]
- ?? Warning using Command Line Compile ??
- Prev by Date: Loading of msdxm.ocx with AxImp failed
- Next by Date: Re: Question that I have debated back and forth on
- Previous by thread: Re: ?? Warning using Command Line Compile ??
- Next by thread: Re: ?? Warning using Command Line Compile ??
- Index(es):
Relevant Pages
|
|