microsoft / microsoft/node-api-dotnet
semantic-kernel from v1.18.0 upper cannot build
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 783
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the semantic-kernel example and the Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.GetInheritedMember stack entry, using the Microsoft.SemanticKernel.Connectors.AzureOpenAI.dll input shown in the report. Reproduce the v1.18.0-and-later build failure and investigate the ambiguous reflection lookup; done means the example generates Microsoft.SemanticKernel.Connectors.AzureOpenAI.js without the exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100