SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

C# 6.0?

Last post 11-12-2017 12:27 PM by sbridewell. 10 replies.
Page 1 of 1 (11 items)
Sort Posts: Previous Next
  • 09-04-2015 2:36 PM

    • hammil
    • Not Ranked
    • Joined on 09-04-2015
    • Posts 1

    C# 6.0?

    Is there any way to enable C# 6.0 in the editor, or even just in the compiler?

    If not, is there a roadmap for this feature?

  • 10-20-2015 7:54 AM In reply to

    Re: C# 6.0?

    I also wish to ask this question; Will there be support for the new C# 6.0 language features?

  • 10-20-2015 6:25 PM In reply to

    Re: C# 6.0?

    We would need to adapt NRefactory 5 for this - so far no one volunteered to do that.


  • 10-20-2015 6:41 PM In reply to

    Re: C# 6.0?

    Thanks for the reply. NFactory is the semantics parser for the IDE. Would there also need to be changes for compilation to IL or would the in-built .NET compiler be used? In other words: The bulk of the changes are in NFactory?

  • 11-23-2015 1:04 PM In reply to

    Re: C# 6.0?

    I miss the null-conditional operator:

    that could be used even in my .net 4.0 projects!

  • 11-24-2015 8:51 PM In reply to

    Re: C# 6.0?

    Currently SharpDevelop does not support compiling using MSBuild 14. It will only use up to MSBuild 12 which does not support C# 6. You can hack around this by adding the following to your project file:


    This will allow your project to compile and use C# 6 features but you will see errors in the text editor since it does not understand C#6 syntax.

  • 01-25-2017 1:00 AM In reply to

    • Sergii
    • Not Ranked
    • Joined on 01-24-2017
    • Posts 1

    Re: C# 6.0?

    Hi guys,


    I want to check out if you have any plans in roadmap to support C# 6.0 and 7.0

    It will be nice to have support of newest frameworks for C#, so community can continue use SharpDevelop for their projects when they upgrade to the latest code and decide to create something from scratch. 

    It will be really sad to see C# 5.0 (already 5 years old) as the latest possible language version supported.

    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 26.0px 'Helvetica Neue'; color: #000000}

    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 26.0px 'Helvetica Neue'; color: #000000}

  • 02-10-2017 1:35 PM In reply to

    Re: C# 6.0?

    NRefactory is dead, guess that is the end of SharpDevelop. Now you're better of with Visual Studio Code and .Net Core.

    As an alternative to Visual Studio, JetBrains is currently developing a Java-Cross-Platform IDE for C# called Rider, which

    is using Roslyn, because it is an IDE with an integrated ReShaper (which gives it probably a price tag of $300+ upon release).

  • 04-19-2017 2:24 PM In reply to

    Re: C# 6.0?

    Sadness((( As a beginner, I really liked SD, as opposed to slow VS.

  • 11-05-2017 10:21 AM In reply to

    Re: C# 6.0?

    I switched to Mono Develop installed on Linux (Debian).

    It is easy to install, very fast, and the compiled code runs on Windows and Linux.

    Filed under:
  • 11-12-2017 12:27 PM In reply to

    Re: C# 6.0?

    There's another workaround to make SharpDevelop support building projects using newer versions of MSBuild than 12, rather than editing your project files as Matt suggests, for anyone willing to download the SharpDevelop source and build their own version. It's described here. Although like Matt's workaround, this only allows you to build using MSBuild 14, it doesn't make the text editor understand new language features added since C# 5.

    From what I've read in various threads on this forum, the main thing blocking the maintainability of SharpDevelop is its dependency on NRefactory, which is the component which parses and understands your source code so that the editor can prompt you with helpful suggestions, meaning that when new features are added to the languages, support for them needs to be added to NRefactory. It sounds like NRefactory could be replaced with Rosalyn, which is Microsoft's equivalent and which is now open source, but I read somewhere an estimate that this could take 3 months for a developer working full time who already has a good understanding of the SharpDevelop code.

    I too would be very sad to see SharpDevelop fall into disuse as I've been using it since version 1.x and find it much faster than Visual Studio and less prone to random crashes too.


Page 1 of 1 (11 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this ( email address.