Describe the bug
I have updated the nuget packages to the latest version. All was working with 1.4.0. I have migrated the configuration as per the documentation.
Now when I compile, I get a very confusing compiler error:
Mvc.g.cs(59,62): Error CS1061 : 'HttpContextBase' does not contain a definition for 'GetRequestServices' and no accessible extension method 'GetRequestServices' accepting a first argument of type 'HttpContextBase' could be found (are you missing a using directive or an assembly reference?)
To Reproduce
I think it's too specific to my case to even attempt this.
Further technical details
Please include the following if applicable:
ASP.NET Framework Application:
- MVC5
- .NET Framework Version: 4.8.1
- IIS Version: Express
- Windows Version: 11
ASP.NET Core Application:
- Targeted .NET version: 10.0
- .NET SDK version: 10.0
Describe the bug
I have updated the nuget packages to the latest version. All was working with 1.4.0. I have migrated the configuration as per the documentation.
Now when I compile, I get a very confusing compiler error:
To Reproduce
I think it's too specific to my case to even attempt this.
Further technical details
Please include the following if applicable:
ASP.NET Framework Application:
ASP.NET Core Application: