Hi Urs

> I had a similar problem with Beta 2 (altough it was VB.NET, 
> not C#)....
> suddenly getting very weird compiler errors, couldn't compile 
> the project anymore. First I also thought it must be related to the 
> solution becoming too big or a corrupt solution file or something like
that. We tried
> everything, from splitting up the project into more dll's to 
> reinstalling Windows and VS.NET. But it turned out that somebody added
an 
> illegal line of code which wasn't detected by the syntax checker of
the 
> compiler, but had the effects described. Once the line was removed,
everything 
> worked again... perhaps the C# compiler has similar problems - you
should 
> check the code which was added just before the problem arises. Try to
roll 
> back the code to the day before and add back the code line by line.

I decided I'd follow your suggestion.  I removed all the classes I've
been working on over the last week, and all references to them in the
project.  It built.  Then I added back in the classes one at a time,
building after each go.  It built.   It kept building.

Now I've got them all added in again it still builds.

Weird!!!!!

Anyway, until it happens again ...

Seeya
James

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to