You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
The text was updated successfully, but these errors were encountered:
AiHaibara
changed the title
some error or not incompatibility when publish singlefile
some error or incompatibility when publish singlefile
Oct 21, 2024
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
net8.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
The text was updated successfully, but these errors were encountered: