Search code examples
c#c#-4.0resharperasync-ctp

Is there a way to tell Resharper 6 to ignore new Async language features?


I finally got around to installing the AsyncCtpLibrary.

The 'async' and 'await' keywords are in red and the hover help has the phrases "cannot resolve symbol 'async'", or "cannot resolve symbol 'await'" respectively.

The project AsyncSamplesCS compiles just fine.

Is there a way to tell Resharper to ignore these new Async language features?

Example:

    public async void AsyncIntroSingle()
    {
        WriteLinePageTitle(await new WebClient().DownloadStringTaskAsync(new Uri("http://www.weather.gov")));
    }

Solution

  • No there's no way to ignore these keywords apart from turning ReSharper code analysis off completely. We hope to be able to provide initial support of Async and Await in ReSharper 6.1 due this Fall. Here's a feature request, vote/watch it if you like.