none
CSC.EXE in .NET Framework 4.5.2 ?? RRS feed

  • Question

  • So Is 4.5.2 incomplete or ?

    Today I installed .Net Framework 4.5.2 and then I went looking for csc.exe (because I am curious).  While I did find several locations for CSC.EXE I didn't find one that was new because of the 4.5.2 install.  The list of locations are: 

    C:\>dir /s csc.exe
     Volume in drive C is Local Disk
     Volume Serial Number is 383E-B55F

    Directory of C:\Windows\Microsoft.NET\Framework\v2.0.50727 06/10/2009  04:22 PM 77,112 csc.exe 1 File(s)  77,112 bytes

    Directory of C:\Windows\Microsoft.NET\Framework\v3.5 11/20/2010  04:29 PM 1,545,032 csc.exe 1 File(s) 1,545,032 bytes

    Directory of C:\Windows\Microsoft.NET\Framework\v4.0.30319 04/11/2014  11:08 PM 1,853,072 csc.exe 1 File(s) 1,853,072 bytes

    Directory of C:\Windows\winsxs\x86_netfx-csharp_compiler_csc_b03f5f7f11d50a3a_6.1.7600.16385_none_d2fff1dae966863c 06/10/2009  04:22 PM 77,112 csc.exe 1 File(s) 77,112 bytes

     Directory of C:\Windows\winsxs\x86_netfx35linq-csharp_31bf3856ad364e35_6.1.7601.17514_none_193318f5726bf1d7 11/20/2010  04:29 PM 1,545,032 csc.exe 1 File(s)      1,545,032 bytes 

    Total Files Listed:
                   5 File(s)      5,097,360 bytes
                   0 Dir(s)  106,284,969,984 bytes free

    AS you can see there are no directories with CSC.exe that are listed as 4.5.2.  Is this correct or am I missing files?

    Friday, January 16, 2015 6:59 PM

Answers

  • @pvdg42,

    It seems csc.exe /? will not get that .NET version, it gets VS version:

    I then have a test about this issue on my computer, I have .NET 4.5.1 on my OS and here is my folder:

    @Robert

    My csc.exe file version is: 4.0.30319.33440(I have .NET 4.5.1 installed)

    Then I installed .NET 4.5.2 and my csc.exe file version raised to: 4.0.30319.34029

    So the answer to your question is that CSC.exe is still in the .NET 4.0 folder but its file version has changed. You'd better not to specify the version by that file folder.

    Best regards.



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Tuesday, January 20, 2015 9:54 AM
    Moderator

All replies

  • Try this:

    Run the csc.exe /? command in the command line, actually you will find the version information as:
    Microsoft (R) Visual C# Compiler version 4.0.30319.17929
    for Microsoft (R) .NET Framework 4.5
    Copyright (C) Microsoft Corporation. All rights reserved.

    Sunday, January 18, 2015 7:45 PM
  • @pvdg42,

    It seems csc.exe /? will not get that .NET version, it gets VS version:

    I then have a test about this issue on my computer, I have .NET 4.5.1 on my OS and here is my folder:

    @Robert

    My csc.exe file version is: 4.0.30319.33440(I have .NET 4.5.1 installed)

    Then I installed .NET 4.5.2 and my csc.exe file version raised to: 4.0.30319.34029

    So the answer to your question is that CSC.exe is still in the .NET 4.0 folder but its file version has changed. You'd better not to specify the version by that file folder.

    Best regards.



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Tuesday, January 20, 2015 9:54 AM
    Moderator
  • Thanks for setting me straight on that, Barry.

    BTW, it's nice to see you "back" in this group. Happy New Year!

    Tuesday, January 20, 2015 12:15 PM
  • @pvdg42

    :) Happy new year to you too.



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, January 21, 2015 6:29 AM
    Moderator