Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. System.Net.dll does not exist!

System.Net.dll does not exist!

Scheduled Pinned Locked Moved C#
csharphelpvisual-studioquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I am using Visual Studio 7.0 to begin to learn Socket programming. Unfortunatley the System.Net and System.Net.Sockets namespaces do not exist. When I compile my project I get the following error. "The type or namespace name 'Net' does not exist in the class or namespace 'System' (are you missing an assembly reference?)" Now Ive been looking on the net for a solutions to this problem and every one says to add a refrence to the System.Net.dll on my machine. Ive looked and looked but the System.Net.dll does not exist. Is there anywhere I could download it? :(( Thanks

    G J K 3 Replies Last reply
    0
    • L Lost User

      I am using Visual Studio 7.0 to begin to learn Socket programming. Unfortunatley the System.Net and System.Net.Sockets namespaces do not exist. When I compile my project I get the following error. "The type or namespace name 'Net' does not exist in the class or namespace 'System' (are you missing an assembly reference?)" Now Ive been looking on the net for a solutions to this problem and every one says to add a refrence to the System.Net.dll on my machine. Ive looked and looked but the System.Net.dll does not exist. Is there anywhere I could download it? :(( Thanks

      G Offline
      G Offline
      Gavin_Mannion
      wrote on last edited by
      #2

      Have you made sure you installed the .NET framework. I had this problem once and I had to uninstall the Framework and reinstall and everything worked fine.

      1 Reply Last reply
      0
      • L Lost User

        I am using Visual Studio 7.0 to begin to learn Socket programming. Unfortunatley the System.Net and System.Net.Sockets namespaces do not exist. When I compile my project I get the following error. "The type or namespace name 'Net' does not exist in the class or namespace 'System' (are you missing an assembly reference?)" Now Ive been looking on the net for a solutions to this problem and every one says to add a refrence to the System.Net.dll on my machine. Ive looked and looked but the System.Net.dll does not exist. Is there anywhere I could download it? :(( Thanks

        J Offline
        J Offline
        James T Johnson
        wrote on last edited by
        #3

        You're right, it doesn't exist; its part of System.dll which declares quite a few other types. Ensure that it is properly referenced in your project (it is by default but you could have accidentally removed it). James Simplicity Rules!

        L 1 Reply Last reply
        0
        • J James T Johnson

          You're right, it doesn't exist; its part of System.dll which declares quite a few other types. Ensure that it is properly referenced in your project (it is by default but you could have accidentally removed it). James Simplicity Rules!

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Just to make sure I added a refrence to every .NET dll to the project including System and there is still no System.Net namespace. Is there a place where I could download it? Thanks

          J 1 Reply Last reply
          0
          • L Lost User

            Just to make sure I added a refrence to every .NET dll to the project including System and there is still no System.Net namespace. Is there a place where I could download it? Thanks

            J Offline
            J Offline
            James T Johnson
            wrote on last edited by
            #5

            System.dll is where the System.Net namespace is declared (I checked with Anakrino) so that means you have a spelling error, or your .NET install is corrupt :(( I don't think there is any place that has that single dll online, my System.dll is 1.10MB and was last modified January 5th, 2002; check yours to make sure it is the same. You can find it in %WINDIR%\Microsoft.NET\Framework\%DOTNET_VERSION%\ HTH, James Simplicity Rules!

            1 Reply Last reply
            0
            • L Lost User

              I am using Visual Studio 7.0 to begin to learn Socket programming. Unfortunatley the System.Net and System.Net.Sockets namespaces do not exist. When I compile my project I get the following error. "The type or namespace name 'Net' does not exist in the class or namespace 'System' (are you missing an assembly reference?)" Now Ive been looking on the net for a solutions to this problem and every one says to add a refrence to the System.Net.dll on my machine. Ive looked and looked but the System.Net.dll does not exist. Is there anywhere I could download it? :(( Thanks

              K Offline
              K Offline
              Kannan Kalyanaraman
              wrote on last edited by
              #6

              Try manually adding the reference to the system.dll through the Add Reference menu item in the solution explorer (rt click on the reference tab or thru project menu). I assumed you had vs.net installation. I ran into same issue couple of days back, it worked for me. Hope this helps Kannan I am not here to accommodate the requirements of mass hysteria.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups