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

  • Home
  • SEARCH
  • 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 6835889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:17:14+00:00 2026-05-26T23:17:14+00:00

I am building a proxy/stub library from an IDL file, and for some reason,

  • 0

I am building a proxy/stub library from an IDL file, and for some reason, the build driver believes that the import library generated during the link is an input file to the link, causing the project to be relinked every time (path names shortened for readability):

10:05:33.764 1>
Target "Link: (TargetId:66)" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets" from project "[...]\VersionControl.vcxproj" (target "_Link" depends on it):
Using "Link" task from assembly "Microsoft.Build.CppTasks.Win32, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "Link" (TaskId:26)
    Write Tracking Logs: (TaskId:26)
[...]
    Outputs for [...]\DEBUG\DLLDATA.OBJ|[...]\DEBUG\VERSIONCONTROL.DLL.EMBED.MANIFEST.RES|[...]\DEBUG\VERSIONCONTROL_I.OBJ|[...]\DEBUG\VERSIONCONTROL_P.OBJ: (TaskId:26)
    [...]\DEBUG\VERSIONCONTROL.ILK (TaskId:26)
    [...]\DEBUG\VERSIONCONTROL.DLL (TaskId:26)
    [...]\DEBUG\VERSIONCONTROL.DLL.INTERMEDIATE.MANIFEST (TaskId:26)
    [...]\DEBUG\VERSIONCONTROL.PDB (TaskId:26)
    Inputs for [...]\DEBUG\DLLDATA.OBJ|[...]\DEBUG\VERSIONCONTROL.DLL.EMBED.MANIFEST.RES|[...]\DEBUG\VERSIONCONTROL_I.OBJ|[...]\DEBUG\VERSIONCONTROL_P.OBJ: (TaskId:26)
    [...]\LIB\RPCRT4.LIB (TaskId:26)
    [...]\LIB\KERNEL32.LIB (TaskId:26)
    [...]\LIB\USER32.LIB (TaskId:26)
    [...]\LIB\GDI32.LIB (TaskId:26)
    [...]\LIB\WINSPOOL.LIB (TaskId:26)
    [...]\LIB\COMDLG32.LIB (TaskId:26)
    [...]\LIB\ADVAPI32.LIB (TaskId:26)
    [...]\LIB\SHELL32.LIB (TaskId:26)
    [...]\LIB\OLE32.LIB (TaskId:26)
    [...]\LIB\OLEAUT32.LIB (TaskId:26)
    [...]\LIB\UUID.LIB (TaskId:26)
    [...]\LIB\ODBC32.LIB (TaskId:26)
    [...]\LIB\ODBCCP32.LIB (TaskId:26)
    [...]\DEBUG\VERSIONCONTROL.DLL.EMBED.MANIFEST.RES (TaskId:26)
    [...]\DEBUG\DLLDATA.OBJ (TaskId:26)
    [...]\DEBUG\VERSIONCONTROL_I.OBJ (TaskId:26)
    [...]\DEBUG\VERSIONCONTROL_P.OBJ (TaskId:26)
    [...]\SYSTEM32\TZRES.DLL (TaskId:26)
    [...]\SORTING\SORTDEFAULT.NLS (TaskId:26)
    [...]\DEBUG\VERSIONCONTROL.EXP (TaskId:26)
    [...]\DEBUG\VERSIONCONTROL.LIB (TaskId:26)
    [...]\VERSIONCONTROL.DEF (TaskId:26)
    [...]\LIB\MSVCRTD.LIB (TaskId:26)
    [...]\LIB\OLDNAMES.LIB (TaskId:26)
    Source compilation required: input [...]\DEBUG\VERSIONCONTROL.LIB is newer than output [...]\DEBUG\VERSIONCONTROL.DLL. (TaskId:26)

The project is set up as a normal DLL project, with settings left as defaults. Any idea why MSBuild decides that these generated files should be treated as inputs, and how I could fix this?

  • 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-26T23:17:14+00:00Added an answer on May 26, 2026 at 11:17 pm

    This is a shot in the dark, but worth a look…

    Open up your vcxproj file and look for the @(Midl) item. Modify it by trying one of these three pieces of item metadata and see how the behavior changes, it may put you on the right path:

      <Midl Include="My.idl">
        <LinkCompiled>false</LinkCompiled>
        <LibCompiled>false</LibCompiled>
        <ImpLibCompiled>false</ImpLibCompiled>
      </Midl>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a simple WCF service that has to return some data from
I'm building a proxy and am trying to deal with a page that uses
I'm building some kind of proxy. When I call some url in a rack
I'm trying to add a task to build the COM proxy DLL after building
I am building some kind of a proxy pattern class for lazyloading SQL queries.
I am building a script/application (on client side and on proxy site too) that
I'm building an app and i've got a list loaded with some info from
Building the same project (without any changes) produces binary different exe-files: some small regions
building a site using PHP and MySQL that needs to store a lot of
Building a website that has English & Japanese speaking users, with the Japanese users

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.