VS6 project fails to build after .NET 03 install

Discussion in 'C++' started by NMA, Jan 13, 2005.

  1. NMA

    NMA Guest

    I have a Visual Studio 6 project that was building correctly.
    I took a day off of that project to install .NET 03 for another
    project,
    then returned to my VS6 project the next day. Without any modifications
    made
    to the code, the VS6 project now fails to build.

    I am seeing the following:
    error C2653: 'XXXXXX' : is not a class or namespace name

    for the first class constructor that the compiler encounters, and many
    more
    errors after that.

    My include directories are correctly set to my VC98\Include directory,
    and
    using the /P option, I see no reference to any .NET install directory.

    When zipped and built on another machine without .NET 03, the project
    builds
    correctly.

    Any thoughts are greatly apperciated.
     
    NMA, Jan 13, 2005
    #1
    1. Advertising

  2. NMA wrote:
    > I have a Visual Studio 6 project that was building correctly.
    > I took a day off of that project to install .NET 03 for another
    > project,
    > then returned to my VS6 project the next day. Without any modifications
    > made
    > to the code, the VS6 project now fails to build.
    >
    > I am seeing the following:
    > error C2653: 'XXXXXX' : is not a class or namespace name
    >
    > for the first class constructor that the compiler encounters, and many
    > more
    > errors after that.
    >
    > My include directories are correctly set to my VC98\Include directory,
    > and
    > using the /P option, I see no reference to any .NET install directory.
    >
    > When zipped and built on another machine without .NET 03, the project
    > builds
    > correctly.
    >
    > Any thoughts are greatly apperciated.


    Several thoughts come to mind. First, this is off-topic, since your
    question is about products and not about the language itself. Second,
    try to understand what is different. You installed a different system
    or compiler between those two events (it built, then it didn't build).
    Somehow the second installation must affect the first.

    No, since it's off-topic here, I cannot even venture any guesses as to
    what might be going on. I'll just say that on my machine three VC++
    IDEs coexist perfectly peacefully, v6, v7.1, and v8 Beta. So, for all
    I know it must be possible.

    Go to 'microsoft.public.vc.ide_general' or another 'microsoft.public.vc'
    newsgroup and ask there. Those forums are specifically for Microsoft
    Visual C++ products and very knowledgeable people frequent those NGs.
    They will be able to help.

    Victor
     
    Victor Bazarov, Jan 13, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Chau
    Replies:
    0
    Views:
    622
    Andy Chau
    Nov 20, 2003
  2. MBB
    Replies:
    2
    Views:
    405
    Leon Mayne [MVP]
    Oct 26, 2005
  3. JeC

    JAXB for Win32 C++ VS6

    JeC, Aug 8, 2003, in forum: XML
    Replies:
    0
    Views:
    1,378
  4. demo
    Replies:
    6
    Views:
    417
    Old Wolf
    Jan 5, 2005
  5. Andrew  Luke
    Replies:
    3
    Views:
    811
    Dave Rahardja
    Sep 9, 2005
Loading...

Share This Page