Daniel Bretzigheimer
Daniel Bretzigheimer

Reputation: 354

MissingMethodException after upgrading to ASP.NET Core 2.0

I tried to upgrade to .NET Core 2.0 but after changing the SDK for every project I get the following exception when trying to start the application

MissingMethodException: Method not found: 'System.Threading.Tasks.Task Microsoft.AspNetCore.Http.ISession.CommitAsync()'.

I tried to install the nuget package Microsoft.AspNetCore.Http.Features in which the missing method is, but it did not help. When trying to access the method from my C# code the intelli sense is showing it like expected.

Upvotes: 1

Views: 2113

Answers (1)

Daniel Bretzigheimer
Daniel Bretzigheimer

Reputation: 354

Ok, I found the answer. We had a nuget package from ourself which had a reference to the old version of Microsoft.AspNetCore.Http.Features. After upgrading our own nuget package it worked.

Upvotes: 4

Related Questions