Ok, here is my problem.

I work in code genreration now. I have a project generated (the code,
not the project itself - this one is actually done by hand at the
moment) that consists of around 250 classes, and the project does not
compile.

No, it actually does compile - if I delete the project (remove it from
the solution first, surely), and make a new one, the including the
files, I CAN compile, but only until I close VS:NET - when I reopen
VS.NET, compiling fails.

The error is:
Unexpected error writing metadata to file
'xxx\OpenShop.Data\obj\Debug\OpenShop.Data.dll' -- 'Unspecified error '

Unspecified error is pretty idiotic, surely.

Now, the project IS A little different. It consists of (as I said)
around 250 classes, out of which 125 are in one file, all as inner
classes of one outer file. This file is actually auto-generated, around
650k source code right now. As noone ever has to look at the code in the
classes (with tons of attributes around them), I found that making them
inner classes of one class makes the whole intellisense much easier to
handle.

Now - anyone any experience with this type of behavior? I can make a
test project available for duplication, if anyone from MS asks (there is
nothing in there besides autogenearated code anyway, and it is trivial).

This is really disturbing.

Thomas Tomiczek
THONA Software & Consulting Ltd.
(Microsoft MVP C#/.NET)

Reply via email to