You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the error Could not load type 'ThrowHandler' when trying to reference Peachpie.Library.PDO.PgSQL version 1.0.0-dev (compiled using latest upstream version):
Unhandled exception. System.TypeLoadException: Could not load type 'ThrowHandler' from assembly 'Peachpie.Runtime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5b4bee2bf1f98593'.
at Peachpie.AspNetCore.Web.PhpHandlerMiddleware.ConfigureLogger(IPhpOptions options, ILoggerFactory factory)
at Peachpie.AspNetCore.Web.PhpHandlerMiddleware..ctor(RequestDelegate next, IWebHostEnvironment hostingEnv, IServiceProvider services, PhpHandlerConfiguration configuration)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_0.<UseMiddleware>b__0(RequestDelegate next)
at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build()
at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
at (my code)
warning NU1603: Server depends on Peachpie.Library.PDO.PgSQL (>= 1.0.0-dev) but Peachpie.Library.PDO.PgSQL 1.0.0-dev was not found. An approximate best match of Peachpie.Library.PDO.PgSQL 1.0.0-preview1 was resolved.
I'm getting the error
Could not load type 'ThrowHandler'
when trying to reference Peachpie.Library.PDO.PgSQL version 1.0.0-dev (compiled using latest upstream version):Is it broken or am I doing something wrong?
This are my build files:
The text was updated successfully, but these errors were encountered: