Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7997285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:56:11+00:00 2026-06-04T14:56:11+00:00

I have a Visual Studio 2010 Ultimate C++ project ( not managed or .NET).

  • 0

I have a Visual Studio 2010 Ultimate C++ project (not managed or .NET). When I press F5 (i.e., start debugging), I want it to save all the files, rebuild those that changed, link the whole thing, and then run. Instead, it appears to use the last build. Thus, when I try to step into a function or something, I get the following error:

Visual Studio Changing Error

Based on my research, I have verified these options, the first three of which are in the Options dialog (can be reached under "Debug->Options and Settings"):

  • "Projects and Solutions->Build and Run->Only build startup projects and dependencies on Run" is checked. Some research indicated that it should be unchecked, but in my case I actually do only want it to rebuild the startup project. For what it’s worth, I’ve tried unchecking it, with no effect.
  • "Projects and Solutions->Build and Run->On Run, when projects are out of date:" is set to "Always build".
  • "Debugging->Edit and Continue->Enable Edit and Continue" is checked, though it’s greyed out.
  • In the Configuration Manager ("Build->Configuration Manager"), all solution configurations and platforms have their "Build" checkbox checked.

I have also tried deleting all Debug and Release directories as well as the .sdf and ipch directory.

For completeness, I suppose I should mention that I’m using precompiled headers, though I kinda doubt it matters.

[EDIT: I should note that it only seems to be one file (a .h file) that’s doing it. I tried renaming it and recompiling, and also removing it from the solution and adding it back in, but it didn’t work. ]

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:56:12+00:00Added an answer on June 4, 2026 at 2:56 pm

    Once I had similar problem with my C# project and I think I have tried every possible suggestion available on internet but none worked and then this is what I have done:

    1. Created an empty Project
    2. Added startup function to verify that it does not show any error
    3. Imported all my source code manually one by one

    So, Yes, it was the solution. You already have done a lot so I would say you can get lucky by trying here and there however having a new project and importing your individual source file would be faster.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created many TestProjects with Visual-Studio-2010 Ultimate . All tests were executed successfully
In Visual Studio 2010 I have an ASP.NET MVC 3 project called blahblah. As
I am using Visual Studio 2010 Ultimate SP1 and have set my project's target
I have a semi-large C# .exe project in visual studio 2010 Ultimate, and I
Environment: Windows 7 SP1 Visual Studio 2010 Ultimate SP1 .NET 4.0 I have a
Environment: Visual Studio Ultimate 2010 .NET 4.0 Windows XP, Vista and 7 We have
I have Visual Studio 2010 beta 2 installed and Expression Blend Preview for .NET
I have installed Visual Studio 2010 RC. I want to install Visual C# 2008
I have a Visual Studio 2010 C# project which creates an .exe and this
In my Visual Studio 2010 project I have files with .mm file extension, that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.