Skip to content

semantic-kernel from v1.18.0 upper cannot build #449

@rocklau

Description

@rocklau
/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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions