Newbie C# 'System.Net.Dll' could not be found

A

Anderson Onir

Hello,

I´m trying to compile a sample get at
http://www.csharphelp.com/archives/archive6.html

http://www.ehhco.com/files/ping.zip

Ping.cs :- The Ping Utility

but i get the error above:

csc /t:exe /out:../Ping.exe /R:System.DLL;System.Net.Dll Ping.cs

Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.

error CS0006: Metadata file 'System.Net.Dll' could not be found


can anyone helpme???
 
D

Daniel O'Connell

Anderson Onir said:
Hello,

I´m trying to compile a sample get at
http://www.csharphelp.com/archives/archive6.html

http://www.ehhco.com/files/ping.zip

Ping.cs :- The Ping Utility

but i get the error above:

csc /t:exe /out:../Ping.exe /R:System.DLL;System.Net.Dll Ping.cs

Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.

error CS0006: Metadata file 'System.Net.Dll' could not be found
there is no System.Net.dll. the System.Net namespace is implemented,
primarily, in the System.dll assembly.
You probably don't need to bother with the /R anyway, the rsp file should
handle it.
 
A

Anderson Onir

Daniel O'Connell said:
there is no System.Net.dll. the System.Net namespace is implemented,
primarily, in the System.dll assembly.
You probably don't need to bother with the /R anyway, the rsp file should
handle it.



tks Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top