.NET Core 3.0 preview8 ?
See original GitHub issueHi there,
I’ve tried to upgrade my asp.net core 2.2 application to asp.net core 3.0 preview8 and having an issue similar to #376
I did try with asp.net core 3.0 preview7 and had the same issue Just wondering if this should be working?
Using version 4.0.180
An unhandled exception occurred while processing the request.
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache' from assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
System.Signature.GetSignature(Void* pCorSig, int cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache' from assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
UPDATE: I also tried one of your later builds from MyGet MiniProfiler.AspNetCore.Mvc 4.1.0-preview.12 but encountered the following issue
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/2 GET https://localhost:5101/mini-profiler-resources/includes.min.css?v=4.1.0-preview.12+a7322be1d9
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 1.1369ms 200 text/css
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
System.TypeLoadException: Could not load type 'System.Text.Json.Serialization.JsonSerializer' from assembly 'System.Text.Json, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
at StackExchange.Profiling.MiniProfilerMiddleware.GetSingleProfilerResultAsync(HttpContext context)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at StackExchange.Profiling.MiniProfilerMiddleware.GetSingleProfilerResultAsync(HttpContext context)
at StackExchange.Profiling.MiniProfilerMiddleware.HandleRequest(HttpContext context, PathString subPath) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 217
at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 74
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Download .NET Core 3.0 (Linux, macOS, and Windows)
NET Core 3.0 downloads for Linux, macOS, and Windows. .NET is a free, ... Want to try out the latest preview? .NET 8.0.0-preview.7...
Read more >NET Core 3.0.0 Preview 8 - release-notes
NET Core 3.0.0 Preview 8 is available for download and usage in your environment. This release includes .NET Core 3.0.0 Preview 8 and...
Read more >Microsoft Releases .NET Core 3.0 Preview 8
NET Core 3.0 Preview 8 for Windows, macOS, and Linux. The new release contains bug fixes and enhancements for the ASP.NET Core, CoreFX,...
Read more >.NET Core 3.0 Preview 8 Ships as General Availability ...
Microsoft shipped .NET Core 3.0 Preview 8 ahead of next month's expected general availability release furthering the company's new direction ...
Read more >Net Core 3.0 Preview 8 Can't be Used in VS 16.2
I have the Tools > Options > Environment > Preview Features > Use previews of the .NET Core SDK ticked. When creating a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There was a breaking issue (namespace changes in System.Text.Json) between preview 7 and preview 8.
I’ve just pushed a new
4.1.0-preview.21
build to MyGet - see if that resolves your issue?I’m going to close this our since it’s available, but once 3.0 ships (should be Monday) I’ll follow-up quickly release a MiniProfiler build depending on non-preview packages for 3.0.