SNOW-1814669: Publishing as SingleFile breaks the Snowflake connector #1062
Labels
bug
status-fixed_awaiting_release
The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector.
status-triage_done
Initial triage done, will be further handled by the driver team
What version of .NET driver are you using?
4.2.0
What operating system and processor architecture are you using?
Windows 11 23H2 (build 22631.4460)
x86_64
What version of .NET framework are you using?
net9.0
What did you do?
Run the app published with
dotnet publish --configuration Release --runtime win-x64 --self-contained true -p:PublishSingleFile=true
What did you expect to see?
The app is working the same way as if it is published with
dotnet publish --configuration Release --runtime win-x64 --self-contained true
What is the actual result?
Snowflake.Data relies on the fact that it is able to locate an assembly and if the app is packaged as a single file it is unable to do so. Is there a way I can pass required information to Snowflake.Data so that it will work when published as a single file?
The text was updated successfully, but these errors were encountered: