Compiler error CS0006

G

Guest

I have a common problem with just about every ASP.NET web app I've ever
developed. Randomly after compiling a project, I will get a CS0006 compiler
error with the following description:

Compiler Error Message: CS0006: Metadata file
'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\mbccs\544aefc6\a95796a7\assembly\dl2\11dbf13d\35abbe2b_537bc501\[DLL
NAME HERE].dll' could not be found.

Restarting IIS or a rebuild-all will solve this. Is there any way to
prevent this issue from occuring? It is very time consuming.

Thanks,
 
S

Steven Berkovitz

Only occurs on my development machine - ie: single machine, all strong named
components in GAC.


Curt_C said:
Farm?
Cluster?
GAC?


--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

Steven said:
I have a common problem with just about every ASP.NET web app I've ever
developed. Randomly after compiling a project, I will get a CS0006
compiler error with the following description:

Compiler Error Message: CS0006: Metadata file
'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\mbccs\544aefc6\a95796a7\assembly\dl2\11dbf13d\35abbe2b_537bc501\[DLL
NAME HERE].dll' could not be found.

Restarting IIS or a rebuild-all will solve this. Is there any way to
prevent this issue from occuring? It is very time consuming.

Thanks,
 
S

Steven Cheng[MSFT]

Hi Steven,

Regarding on the
=======================
Compiler Error Message: CS0006: Metadata file
'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\mbccs\544aefc6\a95796a7\assembly\dl2\11dbf13d\35abbe2b_537bc501\[DLL
NAME HERE].dll' could not be found.
=======================

error you mentioned, based on my experience, there're lots of such issues
which are caused by the strong-named assembly put in the private bin
folder. So, I suggest you double check the application's private bin folder
to see whether there're any strong-named assemblies left in it.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top