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#
星號
787
分支
80
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  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 摘要。