Visual Studio and .NET Framework Home
The process cannot access the file because it is being used by another process
2/23/2006 6:43:47 AM
User(s) can reproduce this bug
Exception thrown during ClickOnce update. This happened during a call to DownloadFileGroupAsync, of which tere were multiple groups being downloaded at the same time.
Stack: Message: The process cannot access the file 'Some.dll' because it is being used by another process. Source : mscorlib System.IO.IOException: The process cannot access the file 'Some.dll' because it is being used by another process. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive) at System.Deployment.Application.TempDirectory.DisposeUnmanagedResources() at System.Deployment.Application.DisposableBase.Dispose(Boolean disposing) at System.Deployment.Application.DisposableBase.Finalize()
Visual Studio 2005
Windows XP Professional
Steps to Reproduce
Process crash, unable to catch exception at isolated area, caught at the AppDomain level.
Crash does not happen or exception is passed during Async event handler.
to post a comment.
Please enter a comment.
to post a workaround.
Please enter a workaround.
© 2014 Microsoft