Type or Namespace Task was not found

Hi,

since recent update of RADZEN I can no longer compile my solution. I receive:

The type or namespace "Task" was not found in SecurityService.cs.

    public async Task Logout()
    {
        navigationManager.NavigateTo("Account/Logout", true);
    }

This is because

using System.Threading.Tasks;

in this file is missing. But I cannot add this line because when I click "run" the code is generated new and it happens again.

I do not know what to do now.

Best regards

Frank

Hi Frank,

You can add this file to the application ignore list in app settings. We will check this and will release fix early next week if necessary.

Thank you!

I did not think of that.

Stay healthy and all the best

Frank

1 Like