SharpDevelop Community

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

C# 6.0?

Last post 02-10-2017 1:35 PM by CreeTar. 7 replies.
Page 1 of 1 (8 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.

    Chris

  • 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:

     <CscToolPath>$(MSBuildProgramFiles32)\MSBuild\14.0\Bin</CscToolPath>

    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).

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