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
The plug-in works fine in "debug", but once deployed to azure app service I get this error:
An error occurred while starting the application.
FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Authentication.JwtBearer, Version=3.1.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
The plug-in works fine in "debug", but once deployed to azure app service I get this error:
An error occurred while starting the application.
FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Authentication.JwtBearer, Version=3.1.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
Nop.Plugin.Api.Infrastructure.ApiStartup.ConfigureServices(IServiceCollection services, IConfiguration configuration)
I verified that this is set to true
CopyLocalLockFileAssemblies true
it looks like Nuget packages are not loaded. I copied the Api folder and it contains all the required packages files:
[Areas] logo.jpg
Microsoft.AspNetCore.Authentication.JwtBearer.dll
Microsoft.IdentityModel.JsonWebTokens.dll
Microsoft.IdentityModel.Logging.dll
Microsoft.IdentityModel.Protocols.dll
Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
Microsoft.IdentityModel.Tokens.dll
Nop.Plugin.Api.1.0.0.nupkg
Nop.Plugin.Api.deps.json
Nop.Plugin.Api.dll
Nop.Plugin.Api.pdb
plugin.json
[runtimes]
System.IdentityModel.Tokens.Jwt.dll
The text was updated successfully, but these errors were encountered: