M
Mountain Bikn' Guy
I am having serious problems with the following IDE bug:
Could not write to output file 'x.dll' -- 'The process cannot access the
file because it is being used by another process. '
and
BUG: "Could Not Copy Temporary Files to the Output Directory" Error Message
When You Build a Solution That Contains Multiple Projects
I have tried all the solutions in Microsoft Knowledge Base Article - 313512.
They have not solved the problem for me. I have had these problems in VS.NET
2003 and VS.NET 2003 for more than a year. They happen on a project that has
several large assemblies and several levels of project dependencies.
My problem is very much like what was described in the folllowing post. Any
help is GREATLY appreciated!
Dave
From: Simon Weaver ([email protected])
Subject: still problems with Could not copy temporary files to the output
directory
View this article only
Newsgroups: microsoft.public.dotnet.languages.csharp
Date: 2002-12-11 11:45:46 PST
There appears to be a problem with DLLs > 64KB and i get errors like :
"Unexpected error writing metadata to file 'C:\Documents and
Settings\Simon.SIMON_DEV\My Documents\Visual Studio
Projects\XXX\BusinessCS\obj\Debug\BusinessCS.dll' -- 'Access is denied. '"
and
Could not write to output file 'C:\Documents and Settings\Simon.SIMON_DEV\My
Documents\Visual Studio Projects\ITD
Database\BusinessCS\obj\Debug\BusinessCS.dll' -- 'The process cannot access
the file because it is being used by another process. '
and more commonly
Could not copy assembly to output directory.... The file is being used by
another process.
This is a known problem. In the ASP.NET world it has something to do with
leading slashes on directory names.
I am using windows forms so this does not apply.
One of my core DLLS has just passed the 64kb barrier, and now this problem
has become so severe I cannot even continue working.
I do not have all my DLLs going to the same output path, which some people
says was the problem. All the DLLs go to different directories, but I have
the CopyLocal option enabled so effectively they do all end up in the same
directory.
I have a VB project referencing a C# project, both of which are > 64kb. The
problem seems to be more evident with cross language references, but I dont
see why.
Could not write to output file 'x.dll' -- 'The process cannot access the
file because it is being used by another process. '
and
BUG: "Could Not Copy Temporary Files to the Output Directory" Error Message
When You Build a Solution That Contains Multiple Projects
I have tried all the solutions in Microsoft Knowledge Base Article - 313512.
They have not solved the problem for me. I have had these problems in VS.NET
2003 and VS.NET 2003 for more than a year. They happen on a project that has
several large assemblies and several levels of project dependencies.
My problem is very much like what was described in the folllowing post. Any
help is GREATLY appreciated!
Dave
From: Simon Weaver ([email protected])
Subject: still problems with Could not copy temporary files to the output
directory
View this article only
Newsgroups: microsoft.public.dotnet.languages.csharp
Date: 2002-12-11 11:45:46 PST
There appears to be a problem with DLLs > 64KB and i get errors like :
"Unexpected error writing metadata to file 'C:\Documents and
Settings\Simon.SIMON_DEV\My Documents\Visual Studio
Projects\XXX\BusinessCS\obj\Debug\BusinessCS.dll' -- 'Access is denied. '"
and
Could not write to output file 'C:\Documents and Settings\Simon.SIMON_DEV\My
Documents\Visual Studio Projects\ITD
Database\BusinessCS\obj\Debug\BusinessCS.dll' -- 'The process cannot access
the file because it is being used by another process. '
and more commonly
Could not copy assembly to output directory.... The file is being used by
another process.
This is a known problem. In the ASP.NET world it has something to do with
leading slashes on directory names.
I am using windows forms so this does not apply.
One of my core DLLS has just passed the 64kb barrier, and now this problem
has become so severe I cannot even continue working.
I do not have all my DLLs going to the same output path, which some people
says was the problem. All the DLLs go to different directories, but I have
the CopyLocal option enabled so effectively they do all end up in the same
directory.
I have a VB project referencing a C# project, both of which are > 64kb. The
problem seems to be more evident with cross language references, but I dont
see why.