Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 03, 2016, 08:04:18 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: C# -- Help Needed -- Where is CRC.EXE - .NET SDK Installed  (Read 3525 times)

SkyIDE

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 245
    • View Profile
    • Read more about this member.
    • Donate to Member
C# -- Help Needed -- Where is CRC.EXE - .NET SDK Installed
« on: April 21, 2007, 07:13:31 AM »
Hi Everyone

PLEASE don't let this discourage you as I can assure you -- once I find my way around this, I will succeed.
 
I am confident. The logic is all the same!

 
Ok, I am new to .NET, my first language is C++ so please don't mind if I ask a stupid question or if I sound like a complete newbie :) I've looked at the C# syntax and I understand it 100% since it is like Java which is like C++. There will be no problem adding support. I mean, I even added a Pascal support (which is a different syntax) and had never done Pascal before so C# is no problem.
 
 
Here is the problem:

I thought I already had the C# compiler installed and I thought it was cl.exe but it turns out it is not. It is csc.exe.
 
I installed .NET 2.0 SDK, and .NET 3.0 SDK but csc.exe is still missing! Where is this file? Isn't this the C# compiler?

I need it in order to add support for it in SkyIDE. I need to make SkyIDE understand csc.exe's output. I was about to start writing the compiling bit for C# when I realised I am missing the compiler.
 
 
Ok, all I need to know is where to find csc.exe -- which package do I install. May be MS Visual Studio Express Edition?
 
 
Sash

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,029
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: C# -- Help Needed -- Where is CRC.EXE - .NET SDK Installed
« Reply #1 on: April 21, 2007, 07:41:24 AM »
For me, it's located in %WINDIR%\Microsoft.NET\Framework\{version}.
- carpe noctem

SkyIDE

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 245
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: C# -- Help Needed -- Where is CRC.EXE - .NET SDK Installed
« Reply #2 on: April 21, 2007, 04:12:53 PM »
I found it!!! THANK YOU. We are back in business! Last time I "searched" it found nothing! Doesn't matter. It's here now :) Maybe I mispelled the word.
« Last Edit: April 21, 2007, 04:20:35 PM by SkyIDE »

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,029
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: C# -- Help Needed -- Where is CRC.EXE - .NET SDK Installed
« Reply #3 on: April 21, 2007, 05:24:47 PM »
There's probably some registry entr{y,ies} you can check for installation location, and perhaps even a nice way of detected the most recent version available - I have the following. Dunno if they came from Visual Studio, or dotNET updates from Windows Update...
15-01-2007  00:55    <DIR>          v1.0.3705
24-01-2007  22:31    <DIR>          v1.1.4322
08-02-2007  12:50    <DIR>          v2.0.50727
- carpe noctem

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,120
    • View Profile
    • Donate to Member
Re: C# -- Help Needed -- Where is CRC.EXE - .NET SDK Installed
« Reply #4 on: April 21, 2007, 11:34:16 PM »
On a WindowsXP machine, the command line "csc.exe" compiler should be located in this directory:

C:\WINDOWS\Microsoft.NET\Framework\

On a WinNT machine it should be here:

C:\WINNT\Microsoft.NET\Framework\


SkyIDE

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 245
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: C# -- Help Needed -- Where is CRC.EXE - .NET SDK Installed
« Reply #5 on: April 22, 2007, 01:43:59 AM »
Thanks guys!

Yes f0dder, I have the same folders + the 3.0 one because I installed it while searching for csc.exe :) I don't know what happened. I checked the "search" history in Start->Search and no mispellings. The only logical explanation would be the following. I didn't restart the PC after installation. So may be the files got auto-generated or something AFTER the restart? Ahh well, it's here now. I should have restarted the PC anyway before I spoke.

By the way, I really like the way C# looks. It makes me wonna learn it. It looks just like Java (I knew this since the very first day it got introduced). This .NET got released after MS settled the issue with SUN Microsystems over MS's modification of Java and making the programs built wth J++ incompatible with other operating systems than Windows. I remember later they introduced .NET and C# etc....
« Last Edit: April 22, 2007, 01:47:20 AM by SkyIDE »

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,029
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: C# -- Help Needed -- Where is CRC.EXE - .NET SDK Installed
« Reply #6 on: April 22, 2007, 10:03:30 AM »
kyrathaba: that's only if it hasn't been installed to a custom folder - better use the %windir% environment variable or read the install location from the registry.

SkyIDE: files should have been copied there while installing, not after reboot. But the built-in search thingy of Windows is annoying sometimes... like skipping certain folders depending on configuration options and such.
- carpe noctem

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,120
    • View Profile
    • Donate to Member
Re: C# -- Help Needed -- Where is CRC.EXE - .NET SDK Installed
« Reply #7 on: April 22, 2007, 01:44:52 PM »
Good point f0dder.  Yes, best to make doubly sure with the environment variable %windir%. 

Quote
By the way, I really like the way C# looks. It makes me wonna learn it.

Yes, it has a concise, elegant syntax (in my eyes, anyway)