470,591 Members | 1,536 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

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

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

Jul 19 '05 #1
1 5815
hi all,
I am using VS2005 and getting this error all the time. I have to close and open again to continue

Is there a solution?
Apr 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Tony Wright | last post: by
1 post views Thread by Dwayne | last post: by
8 posts views Thread by RŁdiger Klaehn | last post: by
4 posts views Thread by hb | last post: by
7 posts views Thread by p | last post: by
1 post views Thread by David zhu | last post: by
1 post views Thread by Laurent Lequenne | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.