publishing problem RRS feed

  • Question

  • Hi All.
    All my VS2008 project located on network. When I publish project first time I don't have any problem. But when I did some update in project that was published before, build it successully, and try to publish it again I got 2 errors messages:
    1.Cannot publish because a project failed to build.
    2.Unable to remove directory "bin\Release\app.publish\".
      The process cannot access the file 'ProjectName.exe.manifest' because it is being used by another process.

    I know exactly that when I'm republishing nobody used according project.
    Next step I restart server after that I can publish project again. Or copy and past whole project folder under other name that also help. But I cannot very often restart server and create huge amount copies of same project's folders because previous copy I cannot delete also. Only after restart server I have ability to publishing and delete old projects copies. I hope exist best solution. How to fix that problem?

    Wednesday, October 21, 2009 8:29 PM


  • Hi, I suggest

    you publish on the other directory,

    then the original release of the directory file can be manipulated.




    • Proposed as answer by MaDFroG20091013 Tuesday, October 27, 2009 10:11 AM
    • Marked as answer by Jeff Shan Wednesday, October 28, 2009 8:01 AM
    Monday, October 26, 2009 7:41 AM

All replies