Translation Failure trying to open assembly

I get the following error, trying to open a .net 8.0 webapi assembly.

I have tried to remove and reinstall the application. I'm running windows 11.
What's the problem?

---------------


Translation failure in 'System.Runtime.CompilerServices' in ''.
System.Reflection.TargetInvocationException


Caused by:

Unable to load runtime config file.
SmartAssembly.DependencyFinder.RuntimeConfigException
  ved SmartAssembly.DependencyFinder.ConfigReader.LoadAllRuntimeConfigFiles(IEnumerable`1 runtimeConfigFiles)
  ved SmartAssembly.DependencyFinder.ConfigReader.LoadAllConfigs()
  ved SmartAssembly.DependencyFinder.DependencyResolver.CreateResolvers()
  ved SmartAssembly.DependencyFinder.DependencyResolver.ResolveDefaultAssemblies()
  ved SmartAssembly.DependencyFinder.DependencyResolver.TryResolveAssembly(String assemblyName, Version assemblyVersion, String assemblyToken, String& assemblyPath)
  ved Reflector.CodeModel.Memory.AssemblyReference.FindAssemblyPath()
  ved Reflector.CodeModel.Memory.AssemblyReference.Resolve()
  ved Reflector.CodeModel.Assembly.Equality.ResolveTypeReference(ITypeReference typeReference, HashSet`1 alreadyChecked)
  ved Reflector.CodeModel.Assembly.TypeReference.Resolve(HashSet`1 alreadyChecked)
  ved Reflector.CodeModel.Assembly.CustomAttribute.GetUnderlyingFieldType(IType value)
  ved Reflector.CodeModel.Assembly.CustomAttribute.ReadValue(ByteArrayReader reader, IType type)
  ved Reflector.CodeModel.Assembly.CustomAttribute.get_Arguments()
  ved Reflector.CodeModel.Visitor.Cloner.TransformCustomAttribute(ICustomAttribute value)
  ved Reflector.CodeModel.Visitor.Transformer.TransformCustomAttributeCollection(ICustomAttributeCollection attributes)
  ved Reflector.CodeModel.Visitor.Cloner.TransformTypeDeclaration(ITypeDeclaration value)
  ved Reflector.Disassembler.Disassembler.TransformTypeDeclaration(ITypeDeclaration value)
  ved Reflector.CodeModel.Visitor.Transformer.TransformTypeDeclarationCollection(ITypeDeclarationCollection value)
  ved Reflector.Disassembler.Disassembler.TransformNamespace(INamespace value)
  ved Reflector.Application.Translator.TranslateNamespace(INamespace value, Boolean memberDeclarationList)
  ved Reflector.Application.UserInterface.DisassemblerWindow.Render(Boolean expandTypes, Boolean expandMethods)

Caused by:

Et element med samme nøgle er allerede tilføjet.
System.ArgumentException
  ved System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
  ved System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
  ved System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
  ved SmartAssembly.DependencyFinder.Models.RuntimeConfigJsonModel.Merge(RuntimeConfigJsonModel second)
  ved SmartAssembly.DependencyFinder.ConfigReader.LoadAllRuntimeConfigFiles(IEnumerable`1 runtimeConfigFiles)
Sign In or Register to comment.