microsoft / microsoft/node-api-dotnet
semantic-kernel from v1.18.0 upper cannot build
Ouverte
Personne n'a encore pris cette issue.
- Langage dominant
- C#
- Étoiles
- 783
- Forks
- 80
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
/Users/ezgrid-dev/workspace/github/node-api-dotnet/examples/semantic-kernel/pkg/microsoft.semantickernel.connectors.azureopenai/1.59.0/lib/net8.0/Microsoft.SemanticKernel.Connectors.AzureOpenAI.dll -> /Users/ezgrid-dev/workspace/github/node-api-dotnet/examples/semantic-kernel/bin/Microsoft.SemanticKernel.Connectors.AzureOpenAI.js
Unhandled exception. System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.DefaultBinder.SelectMethod(BindingFlags bindingAttr, MethodBase[] match, Type[] types, ParameterModifier[] modifiers)
at System.Reflection.TypeLoading.RoType.GetMethodImplCommon(String name, Int32 genericParameterCount, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Reflection.TypeLoading.RoType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.GetInheritedMember(MemberInfo member)
at Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.GenerateDocComments(SourceBuilder& s, MemberInfo member, String summaryPrefix)
at Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.ExportTypeMember(SourceBuilder& s, MemberInfo member, Boolean asExtension)
at Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.GenerateClassDefinition(SourceBuilder& s, Type type)
at Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.ExportType(SourceBuilder& s, Type type)
at Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.GenerateTypeDefinitions(Nullable`1 autoCamelCase)
at Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.GenerateTypeDefinitions(String assemblyPath, IEnumerable`1 referenceAssemblyPaths, IEnumerable`1 systemReferenceAssemblyDirectories, String typeDefinitionsPath, IDictionary`2 modulePaths, String targetFramework, Boolean isSystemAssembly, Boolean suppressWarnings)
at Microsoft.JavaScript.NodeApi.Generator.Program.Main(String[] args)
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par l’exemple semantic-kernel et l’entrée de pile Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.GetInheritedMember, en utilisant l’entrée Microsoft.SemanticKernel.Connectors.AzureOpenAI.dll présentée dans le rapport. Reproduisez l’échec du build de v1.18.0-and-later et étudiez la recherche de reflection ambiguë ; le travail est terminé lorsque l’exemple génère Microsoft.SemanticKernel.Connectors.AzureOpenAI.js sans l’exception.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- build-system, tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100