FIX: Visual Workbench Ignores Request Not to Rebuild Project

Last reviewed: September 18, 1997
Article ID: Q116134
1.00 1.50 | 1.00 2.00
WINDOWS   | WINDOWS NT
kbtool kbfixlist

The information in this article applies to:

  • The Visual Workbench, included with:

        - Microsoft Visual C++ for Windows, versions 1.0 and 1.5
        - Microsoft Visual C++, 32-bit Edition, versions 1.0 and 2.0
    

SYMPTOMS

When creating a new project or changing options for an existing project, the Visual Workbench displays the following dialog box when the user chooses the Build button from the toolbar or chooses Build from the Project menu:

        ----------------------------------------------
        | The current project has changed. Would you |
        | like to build the affected files?          |
        |                                            |
        |     [Yes]       [No]       [Cancel]        |
        ----------------------------------------------

Even if the user chooses "No," the Visual Workbench builds the project.

RESOLUTION

If you do not want to build the project, you must choose Cancel from the dialog box shown above to prevent the build process from starting. Otherwise, choose Stop Build from the Project menu to cancel the build if "Yes" or "No" was chosen from the dialog box.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was fixed in Microsoft Visual C++, 32-bit Edition, version 4.0

MORE INFORMATION

To reproduce the problem, do the following:

  1. Start the Visual Workbench.

  2. Create a source file and save it.

  3. Choose New from the Project menu to create a new project, and then add the source file that you just created to the project.

  4. Choose Build from the Project menu. At this time, the dialog box with the text "The current project has changed. Would you like to build the affected files?" will appear.

  5. Choose "No". The Visual Workbench will proceed with a build anyway. To cancel the build, choose Stop Build from the Project menu.

NOTE: This problem can also be reproduced by taking an existing project and changing the compiler options, linker options, or project target.


Additional reference words: 1.00 1.10 1.50 2.00
KBCategory: kbtool kbfixlist kbbuglist
KBSubcategory: VWBIss
Keywords : VwbIss kbbuglist kbfixlist kbtool
Version : 1.00 1.50 | 1.00 2.00
Platform : NT WINDOWS
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 18, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.