DOCUMENT:Q116134 26-JUL-2001 [visualc] TITLE :FIX: Visual Workbench Ignores Request Not to Rebuild Project PRODUCT :Microsoft C Compiler PROD/VER:WINDOWS:1.0 OPER/SYS: KEYWORDS:kbide kbVCkbbuglist kbfixlist ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Workbench for Windows, version 1.0, used with: - Microsoft Visual C++, versions 1.0, 1.5 - *EDITOR Please do not choose this product*Microsoft Visual C++ 32-bit Edition* use 241, 265, 225, versions 1.0, 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 query words: 1.00 1.10 1.50 2.00 ====================================================================== Keywords : kbide kbVC kbbuglist kbfixlist Technology : kbVSsearch kbAudDeveloper Version : WINDOWS:1.0 Issue type : kbbug 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. Copyright Microsoft Corporation 2001.