Can't build my app, VS says files are in use by another process

S

sklett

I've rebooted and I'm still getting the errors:
Error 13 Could not write to output file
'C:\PMDRepository\Tools\PMDManfStudio\Services\obj\Debug\Services.dll' --
'The process cannot access the file because it is being used by another
process. ' Services

Anyone here experienced this before? Solutions? Ideas?

Thanks,
Steve
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

I have seen some messages like that before, what I do is removing the files
manually and usually the error goes away.



--
Ignacio Machin
machin AT laceupsolutions com

| I've rebooted and I'm still getting the errors:
| Error 13 Could not write to output file
| 'C:\PMDRepository\Tools\PMDManfStudio\Services\obj\Debug\Services.dll' --
| 'The process cannot access the file because it is being used by another
| process. ' Services
|
| Anyone here experienced this before? Solutions? Ideas?
|
| Thanks,
| Steve
|
|
 
P

Paul E Collins

sklett said:
I've rebooted and I'm still getting the errors:
Error 13 Could not write to output file [...]
'The process cannot access the file because it is being
used by another process. '

This error can occur if you have more than one instance of Visual
Studio open, and the two open solutions share a project, even if
you're only building one at a time.

Eq.
 
C

Christof Nordiek

Hi sklett,

since your dll is named Service i suppose it's a windows service. Is the
service still running?

hth
Christof
 
C

Chris Dunaway

I've rebooted and I'm still getting the errors:
Error 13 Could not write to output file
'C:\PMDRepository\Tools\PMDManfStudio\Services\obj\Debug\Services.dll' --
'The process cannot access the file because it is being used by another
process. ' Services

Does your project reference the .dll directly or do you use a project
reference? If you have the projects for the .dll's, then you should
use a project reference and not directly reference the dll.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top