Search code examples
nantbuild-script

build failed executing nant


I've got a nant build script (.86 beta) and it is telling me this:

BUILD FAILED

Failed to initialize the 'Microsoft .Net Framework 2.0' target framework.

The process cannot access the file 'C:\Users\cconway\AppData\Local\Temp\tmp25E3.tmp' because it is being used by another process.

This file does not even exist on my machine. Does anyone know the cause of this? Rebooting seems to allow me to run the script once successfully, but every time after that I get this message (though the name of the tmp file changes per reboot).

Thanks!


Solution

  • The answer is my anti-virus. I should have tried disabling that first! Once I disabled it, everything worked like a charm.

    Hope this helps someone.