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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:58:24+00:00 2026-05-11T17:58:24+00:00

I have a build process that does the following: Runs TLBIMP on a number

  • 0

I have a build process that does the following:

  1. Runs TLBIMP on a number (say 10) of COM DLLs (a named group of TaskItems). This is my “Import” target that uses the Exec task.
  2. Runs ILDASM on the 10 interop assemblies. This is my “Disassemble” target that uses the Exec task.
  3. Runs a custom task to take all of the 10 IL files at the same time and do some work on them (details not important, but it’s crucial that ALL 10 IL files are processed together by this task). This is my “Work” target.
  4. Reassembles the 10 IL files using ILASM, back into 10 DLLs. This is my “Assemble” target, uses the Exec task.
  5. Runs ILMerge to merge the 10 assemblies into one. This is my “Merge” target, uses the Exec task.

Everything’s fine and dandy when I do a clean rebuild. When I do an incremental build, and just a few of the original COM DLLs have changed, MSBuild quite correctly only does partial builds of the appropriate targets, for the Outputs that are actually out-of-date with respect to their Inputs.

Is there a way that I can “force” MSBuild, for just one target (step 3 above), to run a Task passing ALL inputs instead of just the out-of-date ones? I don’t want to change the code of my custom Task to hard-code the file names, I’d like them to be provided as TaskItems from the MSBuild script, but my custom task must be given ALL of the inputs derived from the original TaskItem group of COM DLLs, not just the ones that were rebuilt with this particular build.

  • 1 1 Answer
  • 1 View
  • 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-11T17:58:24+00:00Added an answer on May 11, 2026 at 5:58 pm

    I think I’ve found a way. I can define a group thus:

      <ItemGroup>
        <PrelimIL Include="$(IntermediateOutputPath)intermediate\*.il"/>
      </ItemGroup>
    

    And then in my “Disassemble” target, have a second task:

    <Touch Files="@(PrelimIL)" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a process that runs prior to our nightly builds. If the process
I have an application that runs hosted under the w3wp.exe process. While debugging, I
We are using Maven for a large build process (> 100 modules). We have
I have a build script and as part of that script it copies a
I have to build an HTML table that shows data for users versus pages
We have what I think is a fairly standard build process: 1. Developer: Check
Say, I have the following test: [Test] public void MyTest( [RandomNumbers( Count=100, Minimum=0, Maximum=1000
Summary I currently have a NAnt build script that performs a vssget on either
I have a solution with several projects in it that executes many custom build
I have just installed leksah following the user manual . The manual says 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.