Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

some error or incompatibility when publish singlefile

オープン
#1,174 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
azure, csharp
領域
build-system

調査の方向性

まず DurableTask.AzureStorage/Utils.cs の 32 行目と AzureStorageOrchestrationServiceSettings.cs の 38 行目を確認し、次に記載されている .NET 8 の単一ファイル発行コマンドで再現します。IncludeAllContentForSelfExtract を有効にした場合の動作と比較します。報告された runtime とアーキテクチャの組み合わせで、 այդ workaround を必要とせずに単一ファイル発行が機能すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

dt.core help wanted

System.TypeInitializationException: The type initializer for 'DurableTask.AzureStorage.Utils' threw an exception.
---> System.ArgumentException: The value cannot be an empty string. (Parameter 'path')
at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
at System.IO.Path.GetFullPath(String path)
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at DurableTask.AzureStorage.Utils..cctor() in //src/DurableTask.AzureStorage/Utils.cs:line 32
--- End of inner exception stack trace ---
at DurableTask.AzureStorage.AzureStorageOrchestrationServiceSettings..ctor() in /
/src/DurableTask.AzureStorage/AzureStorageOrchestrationServiceSettings.cs:line 38

at

 var settings = new AzureStorageOrchestrationServiceSettings
           {
               StorageAccountClientProvider = new StorageAccountClientProvider(connString)

net8.0

  <PackageReference Include="Microsoft.Azure.DurableTask.AzureStorage" Version="2.0.1" />
  <PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="3.0.0" />

when using
dotnet publish -p:PublishSingleFile=true -c Release -r osx-x64 --self-contained false
or arm64 or --self-contained true both will throw the error like before

but when it using
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
it will ok for it

主要言語
C#
スター
1.7k
フォーク
335
平均マージ
5日 3時間
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/durabletask のほかの issue

Azure/durabletask の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。