Click to See Complete Forum and Search --> : System.Byte error


earwicker
May 28th, 2002, 06:20 PM
I'm attempting to compile a code sample from Lippman's C# primer, and keep getting the following error:

The predefined type 'System.Byte' is not defined or imported

According to the documentation, the solution is to reinstall the .NET SDK. I did this, as well as the SDK's Service Pack 1. Still getting the same problem.

Any ideas?

Thanks in advance,

---earwicker

earwicker
May 29th, 2002, 01:10 AM
In case anyone's actually out there:

I didn't find the solution, but I did get it to work.
For some reason, if I navigate to the directory in windows exporer and start VisStudio by double clicking the .sln file, it works fine.

However, if I try to 'open solution' from within Studio . . . no dice. I get that same error every time.

Go figure.

---earwicker[ch]

Arild Fines
May 29th, 2002, 06:27 AM
I used to get that error if I tried to compiler VS.NET RTM projects in Beta 2.