CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2007
    Posts
    405

    Error generating Win32 resource ?

    Report errors in Winform of Visual Studio when pressing the Rebuild button ... Error generating Win32 resource: The process cannot access the file because it is being used by another process. How is this error fixed ?

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Error generating Win32 resource ?

    Close the app you are trying to rebuild. Look in task manager. If no app is running, close all instances of visual studio. If that doesn't do it, reboot the computer.

  3. #3
    Join Date
    Sep 2007
    Posts
    405

    Re: Error generating Win32 resource ?

    Quote Originally Posted by Arjay View Post
    Close the app you are trying to rebuild. Look in task manager. If no app is running, close all instances of visual studio. If that doesn't do it, reboot the computer.
    I have tried but it's failed

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Error generating Win32 resource ?

    Clean the solution, then rebuild all. What file is getting locked? Do you have more than one project in the solution? If so, build them one at a time. Are you building them in Visual Studio? If building from a build process outside of Visual Studio, do you have 'build projects in parallel' enabled? If so, turn it off.

  5. #5
    Join Date
    Nov 2020
    Location
    Earth
    Posts
    4

    Re: Error generating Win32 resource ?

    Try removing all files from the project and then adding them alternately (1 file and rebuild, 2 files and rebuild... to last file in project) and determining which file are source of trouble.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured