-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Description
Getting a strange error when using web deploy even though the file is there and the correct version, this only happens on publish and not with Debug or release versions locally the file is there on the server.
[FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Identity.UI, Version=3.1.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, int typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Identity.UI, Version=3.1.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, int typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
System.Reflection.RuntimeModule.ResolveType(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
System.Reflection.CustomAttribute.FilterCustomAttributeRecord(MetadataToken caCtorToken, ref MetadataImport scope, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, bool mustBeInheritable, ref ListBuilder<object> derivedAttributes, out RuntimeType attributeType, out IRuntimeMethodInfo ctor, out bool ctorHasParameters, out bool isVarArg)
System.Reflection.CustomAttribute.AddCustomAttributes(ref ListBuilder<object> attributes, RuntimeModule decoratedModule, int decoratedMetadataToken, RuntimeType attributeFilterType, bool mustBeInheritable, ListBuilder<object> derivedAttributes)
System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, int decoratedMetadataToken, int pcaCount, RuntimeType attributeFilterType)
System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, bool inherit)
System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, bool inherit)
System.Attribute.GetCustomAttribute(Assembly element, Type attributeType, bool inherit)
System.Reflection.CustomAttributeExtensions.GetCustomAttribute<T>(Assembly element)
Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets(IConfigurationBuilder configuration, Assembly assembly, bool optional, bool reloadOnChange)
Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions.AddUserSecrets(IConfigurationBuilder configuration, Assembly assembly, bool optional)
Microsoft.Extensions.Hosting.Host+<>c__DisplayClass1_0.<CreateDefaultBuilder>b__1(HostBuilderContext hostingContext, IConfigurationBuilder config)
Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
Microsoft.Extensions.Hosting.HostBuilder.Build()
MISSystem.Web.Program.Main(string[] args) in Program.cs](url)
Metadata
Metadata
Assignees
Labels
No labels