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.

Error after upgrade to Asp.net core 1.0.0.

See original GitHub issue

Hi there & thanks for your amazing work 😃

I ran into an issue after upgrading asp.net core rc2 -> 1.0.0. yesterday:

When loading my dev-app, the line services.AddOpenIddict<Core.Entities.User, DataAccess.ApoNextDbContext>).DisableHttpsRequirement(); causes

An exception of type ‘System.TypeLoadException’ occurred in OpenIddict.dll but was not handled in user code

Additional information: Der Typ “Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionExtensions” in der Assembly “Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60” konnte nicht geladen werden.

(translates as ‘Type … in assebly … could not be loaded’)

I am using Openiddict 1.0.0-alpha2-0331 . Everything was running fine with asp.net core RC2 & OpenIddict alpha 302.

Let me know if you need additional information!

Mo

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kevinchaletcommented, Jun 30, 2016

FYI, the “OpenIddict for RTM” packages are now on MyGet.org

1reaction
jaredcnancecommented, Jun 30, 2016

@moraleslos change project.json to:

"dependencies": {
...
  "OpenIddict": "1.0.0-alpha2-*"
...
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is package restore failing when I upgrade to ASP.NET ...
Only the listed packages were upgraded to 1.0.1. All remaining ASP.NET Core packages stay at 1.0.0, this includes Microsoft.AspNetCore.Server.
Read more >
Error when Upgrading Existing ASP.NET Core 1.0 ...
NET Core 1.1 article we upgraded our existing ASP.NET Core 1.0 project to ASP ... When compiling the application we got the following...
Read more >
Troubleshoot .NET Framework targeting errors
To resolve the error, make sure that your application targets a .NET version that's compatible with the version that's targeted by the projects ......
Read more >
NETSDK1079: The Microsoft.AspNetCore.All package is ...
You may receive this error message when: You retarget an ASP.NET Core project from .NET Core 2.2 or earlier to .NET Core 3.0...
Read more >
Upgrading from .NET Core 1.0 to 1.1 with Visual Studio 2015
To upgrade, first I change the version specified in global.json to use the version “1.0.0-preview2-1-003177”. ... Next, we need to update the ...
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