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 3998848
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:34:44+00:00 2026-05-20T07:34:44+00:00

Possible Duplicate: Visual studio keeps building everything I have a project that includes an

  • 0

Possible Duplicate:
Visual studio keeps building everything

I have a project that includes an idl file that generates a .c file that is included in another file of the same project.

I build this project and all is fine, I then try to run the project and I am told the project is out of date and would I like to build it. If I select yes to build it the idl is compiled again.

Is there any way of stopping this without setting the VS project setting to never prompt me for a build?

  • 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-05-20T07:34:45+00:00Added an answer on May 20, 2026 at 7:34 am

    Once you’ve built the .idl file once, open it’s properties and enable “Exclude from Build”.

    If you update the file, you can build it manually by selecting the file in Solution Explorer and choosing “Compile” (the shortcut is Ctrl+F7 on my setup, but this may vary).

    If you don’t include the generated files in your version control system, a fresh checkout will also need to manually rebuild the .idl file. This case in particular can cause a lot of confusion – it may be worth including the generated files under version control.

    Another option is to create a custom build tool (or pre-build event), which would compare the last modified date/time of the .idl file with the last modified date/time of the output files and then call MIDL if required. This is the behaviour that VS uses to determine whether or not to run CL, but it is not used for MIDL and, as far as I know, cannot be enabled in VC++ 2008 project files.

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

Sidebar

Related Questions

Possible Duplicate: Visual Studio keeps building everything Visual Studio 2008 keeps rebuilding the entire
Possible Duplicate: Use Visual Studio web.config transform for debugging I have an asp.net application
Possible Duplicate: Displaying the #include hierarchy for a C++ file in Visual Studio I
Possible Duplicate: What does the Visual Studio "Any CPU" target mean? I've noticed that
Possible Duplicate: Group files in Visual Studio The problem is, that I want to
Possible Duplicate: Adding a guideline to the editor in Visual Studio Is there a
Possible Duplicate: After a computer crash my Visual Studio 2010 will not load an
Possible Duplicate: What is “missing” in the Visual Studio Express Editions? Specifically for 2010,
Possible Duplicate: App.Config Transformation for 'none web projects' in Visual Studio 2010? Basically, the
Possible Duplicate: Will installing Visual Studio 2010 Beta side by side with VS2008 cause

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.