Computing.Net > Forums > Programming > I got a problem with C#'s csc.exe

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

I got a problem with C#'s csc.exe

Reply to Message Icon

Name: El-Trucha
Date: September 28, 2004 at 14:05:46 Pacific
OS: Windows 2000 Pro
CPU/Ram: 1.4 GHz/128 MB
Comment:

Hello every1!!
OK...I got a C# course that I bnought...on the 4th lesson I think they sent me Visual C# .NET...:D and I've been doing programs with it with no problems...(except syntax errors...:P)
But now, (Visual C# .NET is installed on a Windows 2000 virtual machine...), I was doing things and my virtual hard file broke...:(
So I had 2 reinstall Win2k and VC#...:(
I reinstalled it, but had some troubles during install, and I had 2 stop the installation while it was on the 3rd CD of the MSDN library...
I tried coming back, and it finished installing without problems...
But now, I cant compile neither with csc.exe or the Visual Studio IDE!!! :@
I remember having 2 set csc.exe on my path (which I just did) and doing something else before starting programming...I had the instructions, but I lost them!! :@
What was that I had 2 do??
Maybe set something in a configuration file, I think I remember something about that...
Thanx!! ;)

PS:
The errors I get are:
csc.exe:

error CS2001: Source file 'test.cs' could not be found
fatal error CS2008: No inputs specified

and in the Visual Studio IDE I get:

Program '<filename>' does not have an entry point defined

What do I do?!!
PLZ HELP!!! :)
Thanx!! ;)

El-Trucha



Sponsored Link
Ads by Google

Response Number 1
Name: El-Trucha
Date: September 28, 2004 at 15:50:27 Pacific
Reply:

Ohh, forget the old csc.exe problem...I had a double extension and view file extensions turned off...:@
Now I get the same error on both, csc.exe and the VC# ide...:

Program '<filename>' does not have an entry point defined

What do I do??
Thanx!! ;)

El-Trucha


0

Response Number 2
Name: El-Trucha
Date: September 28, 2004 at 15:56:15 Pacific
Reply:

Now I solved all the problems!! :D
I downloaded the .NET Framework SDK with the free C# compiler, and since it's a new version, it gave me a different error, this one saying that it didnt have a Main() method...sorry for making this post so long, this was really stupid...:P

El-Trucha


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


java problem Function template call fr...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: I got a problem with C#'s csc.exe

I have a problem with Visual C#... www.computing.net/answers/programming/i-have-a-problem-with-visual-c/11139.html

problem with C www.computing.net/answers/programming/problem-with-c/4471.html

Problem with C++ www.computing.net/answers/programming/problem-with-c/5164.html