Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. plz help!

plz help!

Scheduled Pinned Locked Moved C#
helpquestiondebugging
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maryamf
    wrote on last edited by
    #1

    i have a big problem ! when i change anything in my code project this error is appear : ""Unable to copy file "obj\Debug\Charge1.exe" to "bin\Debug\Charge1.exe". The process cannot access the file 'bin\Debug\Charge1.exe' because it is being used by another process."" but if i don't change anything it isn't appear, do anybody know how can i fix this error?

    N M 2 Replies Last reply
    0
    • M maryamf

      i have a big problem ! when i change anything in my code project this error is appear : ""Unable to copy file "obj\Debug\Charge1.exe" to "bin\Debug\Charge1.exe". The process cannot access the file 'bin\Debug\Charge1.exe' because it is being used by another process."" but if i don't change anything it isn't appear, do anybody know how can i fix this error?

      N Offline
      N Offline
      Nader Elshehabi
      wrote on last edited by
      #2

      Hello This error appears when you try to rebuild your project while it's still runing. Close your application if you were running it. If not then you'd might need to rebbot and then rebuild again. If this happens all the time, this means that you're application doesn't close when you close it. Maybe some thread is still alive and you didn't abort it. Otherwise if you try to build while the exe file is running, this is normal.

      Regards:rose:

      1 Reply Last reply
      0
      • M maryamf

        i have a big problem ! when i change anything in my code project this error is appear : ""Unable to copy file "obj\Debug\Charge1.exe" to "bin\Debug\Charge1.exe". The process cannot access the file 'bin\Debug\Charge1.exe' because it is being used by another process."" but if i don't change anything it isn't appear, do anybody know how can i fix this error?

        M Offline
        M Offline
        Muammar
        wrote on last edited by
        #3

        hello maryam, i think you dont have write permission on the drive you're trying to compile on "creating your .exe file" try to delete "Charge1.exe" from debug folders "you dont get a problem when you run it without changing the source code cuz you're running the compiled executable file!" to clean previous objects, try Build > Clean Solution, Build > Build Solution good luck maryam

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups