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
{{ message }}
Repository navigation
some error or incompatibility when publish singlefile #1174
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
changed the title [-]some error or not incompatibility when publish singlefile[/-][+]some error or incompatibility when publish singlefile[/+]on Oct 21, 2024
Activity
[-]some error or not incompatibility when publish singlefile[/-][+]some error or incompatibility when publish singlefile[/+]cgillum commentedon Oct 22, 2024
Looks like publishing to a single file breaks our logic which tries to get the version of the current assembly.