SimpleAppProjects/SimpleWeather-NET

Fix System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/dave.b.antoine/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/bin/Debug/net8.0-maccatalyst/maccatalyst-arm64/SimpleWeather.app/Contents/Resources/Images/WeatherIcons/png/light/wi_direction_up.png'. in FileSystemUtils.OpenAppPackageFileAsync (String filename) (/Users/USER/SimpleWeather/SimpleWeather.Maui/SimpleWeather.Shared/Utils/FileSystemUtils.cs:103)

thewizrd opened this issue · 0 comments

Version 5.8.7(858701)

Stacktrace

SimpleWeather.Utils.FileSystemUtils.OpenAppPackageFileAsync(String filename) in /Users/USER/SimpleWeather/SimpleWeather.Maui/SimpleWeather.Shared/Utils/FileSystemUtils.cs:line 103;SimpleWeather.Utils

SimpleWeather.Icons.WeatherIconProvider.<>c__DisplayClass15_0.<b__0>d.MoveNext() in /Users/USER/SimpleWeather/SimpleWeather.Maui/SimpleWeather.Shared/Icons/WeatherIconProvider.cs:line 101;SimpleWeather.Icons.WeatherIconProvider.<>c__DisplayClass15_0

SimpleWeather.Maui.Controls.IconControl.CreateBitmapIcon(IWeatherIconsProvider provider) in /Users/USER/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/Controls/IconControl.cs:line 267;SimpleWeather.Maui.Controls

SimpleWeather.Maui.Controls.IconControl.UpdateWeatherIcon() in /Users/USER/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/Controls/IconControl.cs:line 208;SimpleWeather.Maui.Controls

SimpleWeather.Maui.Program.Main(String[] args) in /Users/USER/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/Platforms/MacCatalyst/Program.cs:line 13;SimpleWeather.Maui

Reason

System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/dave.b.antoine/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/bin/Debug/net8.0-maccatalyst/maccatalyst-arm64/SimpleWeather.app/Contents/Resources/Images/WeatherIcons/png/light/wi_direction_up.png'.

Link to App Center