dotnet/upgrade-assistant

Controller with a method changed to Async makes it appear not migrated in the endpoint explorer

Opened this issue · 0 comments

  • Include the log file upgrade-assistant.clef that is produced in the working directory

Describe the bug

I would expect changing a method to async in a migrated controller to not cause it to be treated as not migrated in the upgrade assistant endpoints dashboard

To Reproduce

Migrate a controller from a .net framework 4.8.1 to a NET 8 mvc app.

Change the index method from public ActionResult Index() to public async Task<IActionResult> Index().

Go to the upgrade assistant dashboard and look at the endpoint explorer. The method is shown as not migrated.

Exceptions (if any)

Further technical details

  • Windows version and bitness info (32-bit or 64-bit): Windows 11 64 bit
  • Include the output of dotnet --list-sdks
6.0.424 [C:\Program Files\dotnet\sdk]
7.0.317 [C:\Program Files\dotnet\sdk]
8.0.303 [C:\Program Files\dotnet\sdk]
  • Include the output of upgrade-assistant --version: 0.5.564.2486