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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:28:39+00:00 2026-05-13T14:28:39+00:00

Using Visual Studio 2005 with the latest Service Pack. I have a managed C++

  • 0

Using Visual Studio 2005 with the latest Service Pack.

I have a managed C++ solution with 38 projects (that I’ve just inherited.) When I build this solution, I’m receiving the following error from the Assembly Linker:

“error AL1019: Metadata failure while creating assembly — The process cannot access the file because it is being used by another process.”

I’m kind of at a loss as to how to resolve or troubleshoot this. The surrounding steps in the build output are:

  1. Writing Resource File… Done.
  2. Compiling resources…
  3. Linking…
  4. Creating library [PATH]\[FileName].lib and object [PATH]\[FileName].exp
  5. Creating resource satellites…
  6. Error Occurs Here.

There is no difference in the results between Build vs Rebuild vs Project Only with or without Cleaning the Solution first. And, in all cases, the DLL, EXP, ILK, LIB and PDB files for this project are created.

I’ve compared this particular project to other projects in the solution that are structured similarly and see no appreciable differences. I’ve looked at the batch files and temporary rsp files that get generated during the build process and see nothing that jumps out there either.

My current speculation is that the Linker is trying to embed the Intermediate Manifest file into the assembly while something else is still trying to write to the same Intermediate Manifest file (or to the assembly itself.) Though, I’m kind of guessing at this point.

If anyone knows how to resolve this or has any insight as to what else to look into to try and troubleshoot I’d greatly appreciate it. Thanks.

A sanitized version of the end of my build log, if it helps:


    /ASSEMBLYRESOURCE:".\Debug\[Namespace].[ErringProject].dll.licenses" 
    ] 
    Creating command line "link.exe @[Path]\[ErringProject]\Debug\RSP00030A20042852.rsp /NOLOGO /ERRORREPORT:PROMPT" 
    Creating temporary file "[Path]\[ErringProject]\Debug\RSP00030B20042852.rsp" with contents 
    [ 
    /out:"[OutputPath]\[Namespace].[ErringProject].dll" 
    /c:Run 
    /template:"..\..\..\..\..\Run\[Namespace].[ErringProject].dll" 
    /embed:".\Debug\[Namespace].StringsNT.resources" 
    /embed:".\Debug\[Namespace].Strings.resources" 
    ] 
    Creating command line "al.exe @[Path]\[ErringProject]\Debug\RSP00030B20042852.rsp /nologo" 

  • 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-13T14:28:40+00:00Added an answer on May 13, 2026 at 2:28 pm

    Finally tracked this down to the order of the XML Filter Collections in the Project file when using the external resource compiler (i.e. resgen.)

    The failing project had, in its Proj file:

    <files>
        <Filter Name="Header Files" ...>
            ...
        </Filter>
        <Filter Name="Resource Files" ...>
            ...
        </Filter>
        <Filter Name="Source Files" ...>
            ...
        </Filter>
    </files>
    

    Switching that to:

    <files>
        <Filter Name="Header Files" ...>
            ...
        </Filter>
        <Filter Name="Source Files" ...>
            ...
        </Filter>
        <Filter Name="Resource Files" ...>
            ...
        </Filter>
    </files>
    

    Did the trick.

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

Sidebar

Ask A Question

Stats

  • Questions 278k
  • Answers 279k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer What Eric J. said. Also, try to fight the urge… May 13, 2026 at 3:19 pm
  • Editorial Team
    Editorial Team added an answer Looks pretty straightforward, if I'm understanding correctly - just get… May 13, 2026 at 3:19 pm
  • Editorial Team
    Editorial Team added an answer The WaitOne() call blocks so your Set() call will only… May 13, 2026 at 3:19 pm

Related Questions

I've started working on an existing project at my company that was check into
I'm using Visual Studio and COM with C# for the first time and there's
First, a couple operating parameters: .NET development using Visual Studio 2005/2008 TortoiseSVN client I've
Possible Duplicate: How to collapse a row in RDLC rather than just hide it?
I am using Visual Studio 2005 with Team Foundation Server. When I right click

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.