aspnetcore: .NET Core 3.0 Preview 1 makes app fail to start
From @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
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (10 by maintainers)
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.