Where is csc.exe in NET 2.0 SDK? RRS feed

  • Question

  • To all,

    I have downloaded the .NET Framework Software Development Kit (SDK) version 2.0 and there doesn’t seem to be a csc.exe.

    I have C# Express installed, but I am just learning the language and it is my experience that to really learn a language it is best learned without the assistance of a fancy GDE.

    So I just want a cmd prompt.

     Additionally the book I am using is an older copy of Jesse Liberty’s ‘Programming C#’ (O’Reilly, 2001) and the examples use csc.exe.

     From what I can tell it should be under ‘C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin’, but it isn’t.


    John Garrett
    Friday, December 1, 2006 1:27 AM


All replies

  • its:


    this is in the installation directory of the .NET Framework

    Friday, December 1, 2006 1:32 AM
  • Ok,

    This is the kit I am downloading:


    No csc.exe, is there another SDK?

    Thanks for respondng so quickly.

    Friday, December 1, 2006 2:01 AM
  • no worries. you need to download the .NET Framework, its included in that. not sure about the SDK however (wouldnt see why it wouldnt be included....) - tried a search on the computer?

    .NET Framework 2.0 redistributable:


    Friday, December 1, 2006 2:05 AM
  • Downloading it now.

    Hello World, here I come!
    Friday, December 1, 2006 3:02 AM
  • Life is good:

    Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
    for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
    Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

    found at:


    Thanks again.

    Friday, December 1, 2006 3:16 AM
  • no worries ;-)
    Friday, December 1, 2006 3:39 AM
  • Hi, in case your windows is not installed on C (and to be more generic), you could also use:

    - for command line prompt:


    - for powershell:

     Set-Alias csc ((get-content env:windir)+"\microsoft.net\Framework\v2.0.50727\csc.exe") 

    And then, after each one, you are now immediately able to invoke csc


    Monday, June 28, 2010 8:48 PM