dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.39k stars 10k forks source link

Hot Reload Server is launching a System.ComponentModel.Win32Exception #33711

Closed marck7jr closed 3 years ago

marck7jr commented 3 years ago

Describe the bug

I migrated an ASP.NET 5 application to 6.0.100-preview.5.21302.13 just to use the new hot reload capability, but when I tried to launch the Hot Reload server with dotnet watch run, the tool doesn't see any changes, so they were not applied in the browser. Searching for workable solutions, I need to change the launchSettings.json to include launchBrowser with true value. But running the same command, the browser didn't launch. Running dotnet watch --verbose run I found an "interesting" output:

watch : Project supports hot reload and was configured to run with the default run-command. Watching with hot-reload
watch : Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload. Press "Ctrl + R" to restart.
watch : Evaluating dotnet-watch file set.
watch : Running MSBuild target 'GenerateWatchList' on 'C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server\Agrihub.Portal.Blazor.Server.csproj'
watch : Started 'C:\Program Files\dotnet\dotnet.exe' '' with process id 46560
[...]
watch : Process id 46560 ran for 968ms
watch : Watching 1778 file(s) for changes
watch : Building...
watch : Started 'C:\Program Files\dotnet\dotnet.exe' '' with process id 36128
watch : Process id 36128 ran for 5547ms
watch : dotnet-watch is configured to launch a browser on ASP.NET Core application startup.
watch : Refresh server running at wss://localhost:58301.
watch : HotReloadProfile: BlazorHosted. C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server\Agrihub.Portal.Blazor.Server.csproj references BlazorWebAssembly project C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Client\Agrihub.Portal.Blazor.Client.csproj.
watch : Started 'C:\Program Files\dotnet\dotnet.exe' 'exec --runtimeconfig "C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server\bin\Debug\net6.0\Agrihub.Portal.Blazor.Server.runtimeconfig.json" --depsfile "C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server\bin\Debug\net6.0\Agrihub.Portal.Blazor.Server.deps.json" "C:\Program Files\dotnet\sdk\6.0.100-preview.5.21302.13\DotnetTools\dotnet-watch\6.0.100-preview.5.21302.8\tools\net6.0\any\hotreload\Microsoft.Extensions.HotRestart.dll"' with process id 40872
watch : Running dotnet with the following arguments: run
watch : Started
[...]
watch : Launching browser.
watch : An exception occurred when attempting to launch a browser: System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) in System.Diagnostics.Process.dll:token 0x6000174+0x242
   at System.Diagnostics.Process.Start() in System.Diagnostics.Process.dll:token 0x600013f+0xab
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) in System.Diagnostics.Process.dll:token 0x6000143+0x1b
   at Microsoft.DotNet.Watcher.Tools.LaunchBrowserFilter.LaunchBrowser(String launchUrl) in dotnet-watch.dll:token 0x6000156+0x86
   at Microsoft.DotNet.Watcher.Tools.LaunchBrowserFilter.OnOutput(Object sender, DataReceivedEventArgs eventArgs) in dotnet-watch.dll:token 0x6000155+0x78
watch : Unable to launch the browser. Navigate to https://localhost:5001 - {"EventId": {"Id": 14, "Name": "ServerListeningOnAddresses"}, "SourceContext": "Microsoft.Hosting.Lifetime", "Environment": "Development"}

Running the command dotnet watch run --no-hot-reload, the tool detects all changes that I made, different from the expected behavior with Hot Reload enable. So, I know that Hot Reload is a work in progress, but I felt that it can help in your progress somehow. Thanks for the attention.

Further technical details

.NET SDK (reflecting any global.json): Version: 6.0.100-preview.5.21302.13 Commit: d6380bcae7

Runtime Environment: OS Name: Windows OS Version: 10.0.21390 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\6.0.100-preview.5.21302.13\

Host (useful for support): Version: 6.0.0-preview.5.21301.5 Commit: ec3e0b276b

.NET SDKs installed: 5.0.102 [C:\Program Files\dotnet\sdk] 5.0.203 [C:\Program Files\dotnet\sdk] 6.0.100-preview.1.21103.13 [C:\Program Files\dotnet\sdk] 6.0.100-preview.4.21255.9 [C:\Program Files\dotnet\sdk] 6.0.100-preview.5.21302.13 [C:\Program Files\dotnet\sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.0-preview.4.21253.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.0-preview.5.21301.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.0-preview.4.21253.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.0-preview.5.21301.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.0-preview.4.21254.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.0-preview.5.21301.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

ghost commented 3 years ago

Thanks for contacting us.

We're moving this issue to the Next sprint planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s). If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

pranavkm commented 3 years ago

Thanks for the issue report @marck7jr. dotnet watch relies on the OS's file association to be able to launch the browser. It's possible that something in your OS is causing this file association to not work and producing the error.

Could you share the verbose logs that appear after this including when you're trying to make a change? That might give further hints as to why hot reload isn't working if it it's failing to launch a browser.

Separately, could you check if resetting the Default app for "Web browser" fixes the issue with launching the browser? https://support.microsoft.com/en-us/windows/change-default-programs-in-windows-10-e5d82cad-17d1-c53b-3505-f10a32e1894d

marck7jr commented 3 years ago

@pranavkm Of course, but the strange is that with new projects works fine and without problems and, the most important, hot reload works too. It's seems like a project related issue because that are many operations before the server starts properly so I suspect that because of the delay, the hot reload server can't find the operacional process in time, just guessing. Thanks for attention again, hope it helps in some way.

❯ dotnet watch run --verbose
watch : Project supports hot reload and was configured to run with the default run-command. Watching with hot-reload
watch : Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload. Press "Ctrl + R" to restart.
watch : Evaluating dotnet-watch file set.
watch : Running MSBuild target 'GenerateWatchList' on 'C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server\Agrihub.Portal.Blazor.Server.csproj'
watch : Started 'C:\Program Files\dotnet\dotnet.exe' '' with process id 20168
watch : Process id 20168 ran for 980ms
watch : Watching 2035 file(s) for changes
watch : Building...
watch : Started 'C:\Program Files\dotnet\dotnet.exe' '' with process id 6532
  Determining projects to restore...
  All projects are up-to-date for restore.
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  Agrihub.Portal.Domain -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Domain\bin\Debug\net6.0\Agrihub.Portal.Domain.dll
  Agrihub.Portal.ProcessadorAhp -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.ProcessadorAhp\bin\Debug\net6.0\Agrihub.Portal.ProcessadorAhp.dll
  Agrihub.Portal.Shared -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Shared\bin\Debug\net6.0\Agrihub.Portal.Shared.dll
  Agrihub.Portal.Application -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Application\bin\Debug\net6.0\Agrihub.Portal.Application.dll

  GenerateNSwagCSharp:
    dotnet --roll-forward-on-no-candidate-fx 2 C:\Users\lucim\.nuget\packages\nswag.msbuild\13.0.5\build\../tools/NetCore21//dotnet-nswag.dll openapi2csclient /className:AgrihubPortalClient /namespace:Agrihub.Portal.Blazor.Client.OpenAPIs.AgrihubPortal /input:C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Client\OpenAPIs\swagger.json /output:obj\swaggerClient.cs
  NSwag command line tool for .NET Core NetCore21, toolchain v13.0.5.0 (NJsonSchema v10.0.22.0 (Newtonsoft.Json v11.0.0.0))
  Visit http://NSwag.org for more information.
  NSwag bin directory: C:\Users\lucim\.nuget\packages\nswag.msbuild\13.0.5\tools\NetCore21
  Code has been successfully generated but not written to file (no change detected).

  Duration: 00:00:01.0262969
  Agrihub.Portal.Identity -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Identity\bin\Debug\net6.0\Agrihub.Portal.Identity.dll
  Agrihub.Portal.EmailSender -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.EmailSender\bin\Debug\net6.0\Agrihub.Portal.EmailSender.dll
  Agrihub.Portal.Data -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Data\bin\Debug\net6.0\Agrihub.Portal.Data.dll
  Agrihub.Portal.Blazor.Client -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Client\bin\Debug\net6.0\Agrihub.Portal.Blazor.Client.dll
  Agrihub.Portal.Blazor.Client (Blazor output) -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Client\bin\Debug\net6.0\wwwroot
  Agrihub.Portal.IoC -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.IoC\bin\Debug\net6.0\Agrihub.Portal.IoC.dll
  Agrihub.Portal.Blazor.Server -> C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server\bin\Debug\net6.0\Agrihub.Portal.Blazor.Server.dll
watch : Process id 6532 ran for 3955ms
watch : dotnet-watch is configured to launch a browser on ASP.NET Core application startup.
watch : Refresh server running at wss://localhost:60783.
watch : HotReloadProfile: BlazorHosted. C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server\Agrihub.Portal.Blazor.Server.csproj references BlazorWebAssembly project C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Client\Agrihub.Portal.Blazor.Client.csproj.
watch : Started 'C:\Program Files\dotnet\dotnet.exe' 'exec --runtimeconfig "C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server\bin\Debug\net6.0\Agrihub.Portal.Blazor.Server.runtimeconfig.json" --depsfile "C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server\bin\Debug\net6.0\Agrihub.Portal.Blazor.Server.deps.json" "C:\Program Files\dotnet\sdk\6.0.100-preview.5.21302.13\DotnetTools\dotnet-watch\6.0.100-preview.5.21302.8\tools\net6.0\any\hotreload\Microsoft.Extensions.HotRestart.dll"' with process id 5952
watch : Running dotnet with the following arguments: run
watch : Started
2021-06-28 21:15:31.610 -04:00 [INF] <> Servidor Iniciado - {"Environment": "Development"}
2021-06-28 21:15:31.975 -04:00 [INF] <> Configuring local API resource 'Agrihub.Portal.Blazor.ServerAPI'. - {"SourceContext": "Microsoft.Extensions.DependencyInjection.ConfigureApiResources", "Environment": "Development"}
2021-06-28 21:15:33.017 -04:00 [INF] <> Executed DbCommand (18ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT 1 - {"EventId": {"Id": 20101, "Name": "Microsoft.EntityFrameworkCore.Database.Command.CommandExecuted"}, "SourceContext": "Microsoft.EntityFrameworkCore.Database.Command", "Environment": "Development"}
2021-06-28 21:15:33.044 -04:00 [INF] <> Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT OBJECT_ID(N'[idn].[__MigrationHistory]'); - {"EventId": {"Id": 20101, "Name": "Microsoft.EntityFrameworkCore.Database.Command.CommandExecuted"}, "SourceContext": "Microsoft.EntityFrameworkCore.Database.Command", "Environment": "Development"}
2021-06-28 21:15:33.049 -04:00 [INF] <> Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT 1 - {"EventId": {"Id": 20101, "Name": "Microsoft.EntityFrameworkCore.Database.Command.CommandExecuted"}, "SourceContext": "Microsoft.EntityFrameworkCore.Database.Command", "Environment": "Development"}
2021-06-28 21:15:33.051 -04:00 [INF] <> Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT OBJECT_ID(N'[idn].[__MigrationHistory]'); - {"EventId": {"Id": 20101, "Name": "Microsoft.EntityFrameworkCore.Database.Command.CommandExecuted"}, "SourceContext": "Microsoft.EntityFrameworkCore.Database.Command", "Environment": "Development"}
2021-06-28 21:15:33.061 -04:00 [INF] <> Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT [MigrationId], [ProductVersion]
FROM [idn].[__MigrationHistory]
ORDER BY [MigrationId]; - {"EventId": {"Id": 20101, "Name": "Microsoft.EntityFrameworkCore.Database.Command.CommandExecuted"}, "SourceContext": "Microsoft.EntityFrameworkCore.Database.Command", "Environment": "Development"}
2021-06-28 21:15:33.074 -04:00 [INF] <> No migrations were applied. The database is already up to date. - {"EventId": {"Id": 20405, "Name": "Microsoft.EntityFrameworkCore.Migrations.MigrationsNotApplied"}, "SourceContext": "Microsoft.EntityFrameworkCore.Migrations", "Environment": "Development"}
warn: Microsoft.EntityFrameworkCore.Model.Validation[10400]
      Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
warn: Microsoft.EntityFrameworkCore.Model.Validation[10620]
      The property 'Comparacoes.Calculo' is a collection or enumeration type with a value converter but with no value comparer. Set a value comparer to ensure the collection/enumeration elements are compared correctly.
warn: Microsoft.EntityFrameworkCore.Model.Validation[10620]
      The property 'Resultado.Calculo' is a collection or enumeration type with a value converter but with no value comparer. Set a value comparer to ensure the collection/enumeration elements are compared correctly.
warn: Microsoft.EntityFrameworkCore.Model.Validation[30000]
      No type was specified for the decimal property 'Nota' on entity type 'StartupMaturidade'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
      Entity Framework Core 5.0.7 initialized 'ApplicationContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: SensitiveDataLoggingEnabled DetailedErrorsEnabled MaxPoolSize=128 MigrationsHistoryTable=agr.__MigrationHistory
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[agr].[__MigrationHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[agr].[__MigrationHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [MigrationId], [ProductVersion]
      FROM [agr].[__MigrationHistory]
      ORDER BY [MigrationId];
info: Microsoft.EntityFrameworkCore.Migrations[20405]
      No migrations were applied. The database is already up to date.
2021-06-28 21:15:33.384 -04:00 [INF] <> Now listening on: https://localhost:5001 - {"EventId": {"Id": 14, "Name": "ServerListeningOnAddresses"}, "SourceContext": "Microsoft.Hosting.Lifetime", "Environment": "Development"}
watch : Launching browser.
watch : An exception occurred when attempting to launch a browser: System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) in System.Diagnostics.Process.dll:token 0x6000174+0x242
   at System.Diagnostics.Process.Start() in System.Diagnostics.Process.dll:token 0x600013f+0xab
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) in System.Diagnostics.Process.dll:token 0x6000143+0x1b
   at Microsoft.DotNet.Watcher.Tools.LaunchBrowserFilter.LaunchBrowser(String launchUrl) in dotnet-watch.dll:token 0x6000156+0x86
   at Microsoft.DotNet.Watcher.Tools.LaunchBrowserFilter.OnOutput(Object sender, DataReceivedEventArgs eventArgs) in dotnet-watch.dll:token 0x6000155+0x78
watch : Unable to launch the browser. Navigate to https://localhost:5001 - {"EventId": {"Id": 14, "Name": "ServerListeningOnAddresses"}, "SourceContext": "Microsoft.Hosting.Lifetime", "Environment": "Development"}
2021-06-28 21:15:33.384 -04:00 [INF] <> Now listening on: http://localhost:5000 - {"EventId": {"Id": 14, "Name": "ServerListeningOnAddresses"}, "SourceContext": "Microsoft.Hosting.Lifetime", "Environment": "Development"}
2021-06-28 21:15:33.384 -04:00 [INF] <> Application started. Press Ctrl+C to shut down. - {"SourceContext": "Microsoft.Hosting.Lifetime", "Environment": "Development"}
2021-06-28 21:15:33.384 -04:00 [INF] <> Hosting environment: Development - {"SourceContext": "Microsoft.Hosting.Lifetime", "Environment": "Development"}
2021-06-28 21:15:33.384 -04:00 [INF] <> Content root path: C:\Users\lucim\source\repos\agrihub-portal\src\Agrihub.Portal.Blazor\Server - {"SourceContext": "Microsoft.Hosting.Lifetime", "Environment": "Development"}
2021-06-28 21:15:33.548 -04:00 [INF] <> Executed DbCommand (25ms) [Parameters=[@__normalizedEmail_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
SELECT TOP(2) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[Email], [a].[EmailConfirmed], [a].[ExternalId], [a].[FirstExternalLogin], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[Nome], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
FROM [idn].[AspNetUsers] AS [a]
WHERE [a].[NormalizedEmail] = @__normalizedEmail_0 - {"EventId": {"Id": 20101, "Name": "Microsoft.EntityFrameworkCore.Database.Command.CommandExecuted"}, "SourceContext": "Microsoft.EntityFrameworkCore.Database.Command", "Environment": "Development"}
info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
      Entity Framework Core 5.0.7 initialized 'ApplicationContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: SensitiveDataLoggingEnabled DetailedErrorsEnabled MaxPoolSize=128 MigrationsHistoryTable=agr.__MigrationHistory
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__Parse_0='ddda99f7-f6a5-4f0e-8b9a-e052a1d19eca'], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [p].[Id], [p].[Nome], [p].[Telefone], [p].[UsuarioId]
      FROM [agr].[Produtores] AS [p]
      WHERE [p].[UsuarioId] = @__Parse_0
2021-06-28 21:15:33.653 -04:00 [INF] <> Executed DbCommand (2ms) [Parameters=[@__normalizedEmail_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
SELECT TOP(2) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[Email], [a].[EmailConfirmed], [a].[ExternalId], [a].[FirstExternalLogin], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[Nome], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
FROM [idn].[AspNetUsers] AS [a]
WHERE [a].[NormalizedEmail] = @__normalizedEmail_0 - {"EventId": {"Id": 20101, "Name": "Microsoft.EntityFrameworkCore.Database.Command.CommandExecuted"}, "SourceContext": "Microsoft.EntityFrameworkCore.Database.Command", "Environment": "Development"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__Parse_0='4702e0bb-e3cf-42ed-9861-cb22331e1fcc'], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [p].[Id], [p].[Nome], [p].[Telefone], [p].[UsuarioId]
      FROM [agr].[Produtores] AS [p]
      WHERE [p].[UsuarioId] = @__Parse_0
mkArtakMSFT commented 3 years ago

Thanks for additional details, @marck7jr. Looking through the notes I don't think there is any pending action left here. Also, the Hot Reload experience has improved a lot over the last few previews. Please try out the latest bits and if you find any remaining issues, don't hesitate to report those on this repo.