Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikael Axel Kleinwort 10 posts 91 karma points c-trib
    Aug 23, 2019 @ 06:32
    Mikael Axel Kleinwort
    0

    c# compiler version for Umbraco Cloud

    Which c# version can I use in my custom code (outside of dll's) when hosting Umbraco in the Umbraco cloud? 7.0? 6.0?

    Regards, Mikael

  • David Challener 80 posts 341 karma points c-trib
    Aug 23, 2019 @ 13:45
    David Challener
    0

    Hi Mikael,

    Answering your question from the other direction, Umbraco v7 requires .NET framework 4.5.2 and Umbraco v8 requires .NET framework 4.7.2.

    As long as the features of the C# language match these frameworks you should be fine.

    Hope this helps, David

  • Mikael Axel Kleinwort 10 posts 91 karma points c-trib
    26 days ago
    Mikael Axel Kleinwort
    0

    For anybody with the same question, here the best answers I could find:

    C# versions with Framework versions:

    • C# 1.0 released with .NET 1.0
    • C# 1.2 (bizarrely enough); released with .NET 1.1
    • C# 2.0 released with .NET 2.0
    • C# 3.0 released with .NET 3.5
    • C# 4.0 released with .NET 4
    • C# 5.0 released with .NET 4.5
    • C# 6.0 released with .NET 4.6
    • C# 7.0 is released with .NET 4.6.2
    • C# 7.3 is released with .NET 4.7.2

    I found this on Stack Overflow here, and some more information here.

Please Sign in or register to post replies

Write your reply to:

Draft