Results 1 to 7 of 7

Thread: compile error

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145

    compile error

    Hi all,

    I am modifying my existing application that is already in production to include enhancements. But I'm getting this compile error:

    Code:
    Preparing resources...
    Updating references...
    Performing main compilation...
    Building satellite assemblies...
    The file 'vendor.exe' cannot be copied to the run directory.  The requested operation cannot be performed on a file with a user-mapped section open.
    Could not copy temporary files to the output directory.
    What does this mean? I tried rebooting my PC but to no avail.

    Pls help.

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Sounds like vendor.exe is running when you are trying to compile against it.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145
    No, it's not. I tried closing and opening my project. Then rebooting my PC. But the problem still persists.

    Is this related to memory problems?

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Did you try copying vendor.exe into the application folder?

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145
    Hi,

    Edneeis, what do you mean by application folder? Is it the bin directory. It's there but it not updated. I'm encountering this problem when building the project.

  6. #6
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Is vender.exe the main output of your project? Is it the only output? And you are sure its not running. Not even in the task manager somewhere.

    Are you referencing any outside assemblies, other than the .NET framework? Is vendor.exe part of one of them?

    Try deleting the old vendor.exe and see if that helps.

    I received an error like this once and the problem was that an instance of the exe was running although I had closed it, I found it still had a process open in the task manager. Once I stopped that then I could compile again. Or did any permissions change on your computer or the target of where it is getting the vendor.exe file?

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145
    Vendor.exe is the only output. Deleting it did it!

    Thanks a lot.

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