System.Net.dll does not exist!
-
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
-
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
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.
-
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
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!
-
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!
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
-
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
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! -
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
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.