aCute icon indicating copy to clipboard operation
aCute copied to clipboard

Support for setting the Language Version

Open omajid opened this issue 6 years ago • 2 comments

I wanted to use an async Main. That requires C# 7.3. To use this, I need to set the language version. aCute doesn't provide a suggestion for adding <LangVersion>latest</LangVersion> to csproj anywhere that I can see. It doesn't even show up in the auto-completion for csproj.

omajid avatar Oct 24 '18 16:10 omajid

Test program to reproduce the issue:

using System;
using System.Threading.Tasks;

namespace HelloWorld
{
    class Program
    {
        static async Task Main(string[] args)
        {
	}
    }
}

aCute doesn't even point out that there is an error, until I hit run (or debug).

omajid avatar Oct 24 '18 16:10 omajid

Do you get regular content-assist and so on working properly in your .cs file? It seems like this could be an issue in OmniSharp not using the right language version according to .csproj.

mickaelistria avatar Nov 05 '18 08:11 mickaelistria