?? Warning using Command Line Compile ??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom Baxter

    #1

    ?? 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

  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: ?? Warning using Command Line Compile ??

    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]
    - mvp@spam.guard. caspershouse.co m

    "Tom Baxter" <tlbaxter99@new sgroup.nospamwr ote in message
    news:elCq0xJCIH A.5044@TK2MSFTN GP03.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

    Comment

    • Tom Baxter

      #3
      Re: ?? Warning using Command Line Compile ??

      "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c omwrote in
      message news:083ED3AE-BC9F-4A1A-BAFF-54C732DB5A2D@mi crosoft.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:\Progra m Files\Microsoft Visual Studio
      9.0\VC\vcvarsal l.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@spam.guard. caspershouse.co m
      >
      "Tom Baxter" <tlbaxter99@new sgroup.nospamwr ote in message
      news:elCq0xJCIH A.5044@TK2MSFTN GP03.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\v 6.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

      Comment

      • Jialiang Ge [MSFT]

        #4
        RE: ?? Warning using Command Line Compile ??

        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 (jialge@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.

        Comment

        Working...