fatal error CS0013: Unexpected error writing metadata to file [Obj dir]

H

Heinz

Hello,

I have a project that is used by other project in my solution. This common
project is also used by a VB6 application (so it is placed in GAC).

Since I did this (this is what I suspect...), every time I make a
modification to this "common" project, I get the following error when I try
to compile it:


Performing main compilation...
fatal error CS0013: Unexpected error writing metadata to file
'C:\BV2004_source\BTCommon\obj\Debug\BTCommon.dll' -- 'Access is denied. '


As work around, I have to close Visual Studio and delete the OBJ directory
under this project. From that point, it is ok until the next modification...

I have also noted that whenever I register it to the GAC, it places a copy
to the Download directory (Why???) and it also places "Microsoft.VSDesigner"
there...


I'm, using VS 7.1 under XP and my project is in C#

Any help welcome!
Heinz
 

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