.NET Core 3.0 Preview 1 makes app fail to start
See original GitHub issueFrom @godrose on Tuesday, 18 December 2018 06:44:00
Issue Title
Using latest version of .NET Core 3.0.0 SDK (009812) introduces regression into an existing app
General
Upgrading to the preview version and using it instead of 2.2.0 results in the following exception during app start:
Application startup exception: System.InvalidOperationException: Scheme already exists: ASOS
at Microsoft.AspNetCore.Authentication.AuthenticationOptions.AddScheme(String name, Action1 configureBuilder)
at Microsoft.Extensions.Options.OptionsFactory1.Create(String name)
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue()
at Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider..ctor(IOptions1 options, IDictionary2 schemes)
Copied from original issue: dotnet/core#2160
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (10 by maintainers)
Top Results From Across the Web
Troubleshoot ASP.NET Core on Azure App Service and IIS
NET Core runtime in-process, but it fails to start. ... NET Core preview releases aren't deployed to Azure App Service by default.
Read more >c# - .NET Core application does not start
Probably current workarounds are: Deploy app as self-contained. Install SDK on client machine. Share.
Read more >Cannot debug net6.0-macos Apps - Developer Community
2 I tried to disable “.Net Core Debugger” extension (Main menu (Visual Studio) - Extensions - Installed). After this the VS is able...
Read more >Running .NET Core Apps on a Framework other than ...
It fails to run due to the missing .NET Core 2.1 runtime. Notice that the error message is pretty helpful and shows what...
Read more >The Current .NET SDK does not support targeting . ...
NET Core SDK. To quickly check that, launch Visual Studio, go to Tools > Options > Environment > Preview Features and ensure that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @godrose , unfortunately almost everyone is out of the office right now. We should be able to get back to this first thing in the new year.
I see. I’m not deploying the app though