‘Could not write to output file’ error

I get this damn error at least once a day when trying to compile. It is sporatic — it happens whenever it wants. I restart VS.NET and it goes away. To be clear, all I am doing is compiling my code. I don’t have multiple instances open, or anything tricky.

All the solutions I have read so far (I haven’t spent that much time on it) seem to solve when someone is getting this error all the time. If ANYONE out there can help me figure this out, I will be GREATLY appreciated.

Exact error:

Could not write to output file 'C:\Path\Common.dll' -- 
'The process cannot access the file because it is being used
by another process.'

Leave a Reply

Your email address will not be published. Required fields are marked *