Problem solve Get help with specific problems with your technologies, process and projects.

Getting error: 'Meta data file 'System.Net.dll' could not be found

I have installed Visual C# .NET compiler version 7.009466 and Microsoft .NET Framework version 1.0.3705. When I am compiling a program named DNSApp.cs with the following command, it gives a cs0006 error. The error statement is 'Meta data file 'System.Net.dll' could not be found. The compilation command is: csc /r:Syste.Net.dll /out: DNSApp.exe DNSApp.cs.
System.Net.dll does not exist. System.Net namespace lives in the System.dll assembly. Therefore, you should use: csc /r:System. dll /out: DNSApp.exe DNSApp.cs.
This was last published in January 2004

Dig Deeper on C# programming language

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.