Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

semantic-kernel from v1.18.0 upper cannot build

未关闭
#449 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
csharp

调研方向

从 semantic-kernel 示例和堆栈条目 Microsoft.JavaScript.NodeApi.Generator.TypeDefinitionsGenerator.GetInheritedMember 入手,使用报告中所示的 Microsoft.SemanticKernel.Connectors.AzureOpenAI.dll 输入。重现 v1.18.0-and-later 的构建失败,并调查有歧义的 reflection 查找;当示例能够在没有异常的情况下生成 Microsoft.SemanticKernel.Connectors.AzureOpenAI.js 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

/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)
主要语言
C#
星标
783
派生
80
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/node-api-dotnet 的其他 Issue

查看 microsoft/node-api-dotnet 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。