CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2002
    Location
    houston, tx
    Posts
    3

    System.Byte error

    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

  2. #2
    Join Date
    Apr 2002
    Location
    houston, tx
    Posts
    3
    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]

  3. #3
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    265
    I used to get that error if I tried to compiler VS.NET RTM projects in Beta 2.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured