Re: ?? Warning using Command Line Compile ??



"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@xxxxxxxxxxxxxxxxxxxxxxx
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

.



Relevant Pages

  • Re: installing 6.1 on Compaq Proliant 5000
    ... SCO sets up the SMP table all wrong. ... Good morning dear FreeBSD enthusiasts. ... I am attempting to install FreeBSD ... entered the request for a command prompt. ...
    (freebsd-questions)
  • Re: not a valid win32 aplication Update
    ... anti-malware I can find in both regular and safe mode. ... tried to downloand and install Stinger on 5 different computers ... but rather a corrupt file somewhere ..possibly in updates for Dot ... Open a command prompt and execute the following ...
    (microsoft.public.security.virus)
  • Re: Cannot connect to network now...
    ... > Brian Coiley wrote: ... >>command prompt. ... install to pick up anything that may have bombed out first time around. ... > environment, that's probably not a big deal, but with 10,000 machines, ...
    (Debian-User)
  • Re: Error code 8007000B when trying to install updates
    ... is the drive in which Vista is installed. ... Can you please follow the instructions below and let me know if it resolves the updates failing with 8007000b issue. ... Open an Administrator command prompt by right clicking on Start -> All Programs -> Accessories -> Command Prompt and selecting "Run as Administrator" and clicking "Allow" for the elevation prompt ... please try to install the updates again and let me know if that resolves the issue. ...
    (microsoft.public.windowsupdate)
  • Re: How To Uninstall Win2K and other questions
    ... To wipe the drive, some ways include; boot a win98/ME startup disk, run ... the point, delete the existing NTFS and or other partitions found, then ... the Win98/ME CD-Rom or restore CD-Rom to start your install. ... | cannot install from command prompt, it would let me and it has been a very ...
    (microsoft.public.win2000.general)