Locking Appx Folders RRS feed

  • Question

  • since few days i often get the following error when try to run the app i'm developing:

    Error 1 Error : DEP0500 : The folder "C:\Dave\TFS\[xxxxx]\DefaultCollection\[xxx]\[xxx]\[xxx]\bin\Debug\AppX" could not be deleted.
    Access to the path '[xxx].exe' is denied. [xxx]

    someone knows why? it drives me nuts.. have to restart visual studio after every deploy.

    Tuesday, September 25, 2012 2:22 PM

All replies

  • Hi Dave,

    is '[xxx].exe' in memory or what process is holding on to that exe (maybe use process explorer http://technet.microsoft.com/en-us/sysinternals/bb896653 to check if devenv itself is holding a handle to that file)  Also, is that folder/file checked into source control (it shouldn't be but just checking to make sure.  does it matter if we disconnect the project from source control?  is the issue intermittent?

    much appreciated,


    Tuesday, September 25, 2012 9:27 PM
  • its devenv i think, if reboot visual studio the problem dissapears for one or two deploys but will look tomorrow with process explorer.

    and the folder isnt checked into tfs. i checked that already. the source code is checked in but nothing in the bin folder.

    Tuesday, September 25, 2012 9:42 PM
  • its devenv that is locking the exe
    Wednesday, September 26, 2012 6:33 PM