question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.NET Core 3.0 Preview 1 makes app fail to start

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
Eiloncommented, Dec 28, 2018

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.

0reactions
godrosecommented, Feb 9, 2019

I see. I’m not deploying the app though

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found