Compiler Error Message: CS0016
Last Thursday I was working with a client trying to get some code I had written running under his copy of IIS on Windows Vista. The full text of the message indicates that the .NET runtime was unable to create the DLL in the shadow directory, but when you go to that directory it is obvious that it was able to create all of the other files. Why not the DLL?!
If you do a search for that error message, you will find all kinds of solutions. One of them is this link over at the Microsoft Support site.
Now, what typically happens is that people find that link, see that it has something to do with ASP.NET 1.0 or 1.1 and move on, looking for the solution for ASP.NET 2.0 or 3.x. In fact, many of the other forum posts say, “I saw that link, but it isn’t for ASP.NET 2.0 (or 3.x) so I didn’t bother.”
If you did that, you’d miss the solution.
Following the instructions at that link did, in fact, fix the problem for us.
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

