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
According to the warning: Warning IL3000: 'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'. Line 19 in Utilities class should be changed.
Currently exception is thrown: The type initializer for 'nanoFramework.Tools.FirmwareFlasher.Utilities' threw an exception.
nfbot
changed the title
Application which uses nanoFirmwareFlasher nuget crashes when it is published in self-contained (single-file) mode.
Application which uses nanoFirmwareFlasher nuget crashes when it is published in self-contained (single-file) mode
Jan 10, 2025
Tool
nanoff
Description
According to the warning:
Warning IL3000: 'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Line 19 in Utilities class should be changed.
Currently exception is thrown:
The type initializer for 'nanoFramework.Tools.FirmwareFlasher.Utilities' threw an exception.
How to reproduce
Expected behaviour
Device details to be retrieved.
Screenshots
No response
Aditional context
No response
The text was updated successfully, but these errors were encountered: