Microsoft KB Archive/116134

= FIX: Visual Workbench Ignores Request Not to Rebuild Project =

Article ID: 116134

Article Last Modified on 8/16/2005

-

APPLIES TO

 Microsoft Visual Workbench for Windows, when used with:  Microsoft Visual C++ 1.0 Professional Edition

 Microsoft Visual C++ 1.5 Professional Edition

 Microsoft Visual C++ 2.0 Professional Edition 

-

<div class="notice_section">

This article was previously published under Q116134

<div class="symptoms_section">

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:

<pre class="fixed_text">       -- | 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.

<div class="resolution_section">

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.

<div class="status_section">

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

<div class="moreinformation_section">

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 query words: 1.00 1.10 1.50 2.00

Keywords: kbbug kbfix kbide KB116134

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.