4
Answers

Errors compiling C# programs from command line

Photo of satish_talreja

satish_talreja

20y
2.1k
1
Hello All I am a beginner in C#. I have installed the 106 MB Microsoft.NET SDK. I tested by compiling and executing "HelloWorld.cs" from the command prompt(I do not have VS.NET). It all went smoothly. Now I tried to compile and run a cs program that should simply show me a window. But I am getting the error: *********************************************************************** The type or namespace "Winforms" does not exist in the class or namespace "System". *********************************************************************** The error code is CS0234. I read somewhere that the the references to the DLLs should be added in the project page. But since I do not use VS.NET I cannot do this. Is there any way to sort this problem out? Please help!! ALL suggestions are welcome. BUT I can do this only using Notepad and Command prompt. Regards Satish Kumar

Answers (4)

0
Photo of Sam Hobbs
NA 28.7k 1.3m 14y
The term plugin means that the software issuing the message was not written by Microsoft so you need to refer to the documentation of the other software. The problem is not the result of the C# DLL not getting loaded. If you wrote both the C# program and the C++ program and you don't recognize the error message then it is a problem with non-Micorosoft software that you are using.