Forum General

Why is this Visual Studio template using async <anonymous> void?

BretBret USMember ✭✭
edited December 2019 in General
  1. File
  2. New Solution
  3. Multiplatform: App
  4. Tabbed Forms App

Change nothing. Navigate to ItemsViewModel.cs and notice the code below:

Visual Studio is appropriately giving warnings about invoking an async Task void, as can be seen on the two "async" words underlined in orange. Additionally, this code presents a bug where a spinner sits and waits for the result of a property that is set in this void Task.

Sign In or Register to comment.