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
But, when I try to find those image files in the solution, I can't find them - there are no tab_home.png, tab_favorites.png or tab_map.png. However, in Resources/Images I find the .svg versions:
Resources/Images/tab_home.svg
Resources/Images/tab_favorites.svg
Resources/Images/tab_map.svg
Also in the \src\WeatherTwentyOne\Converters\ActiveTabConverter.cs, the png files are references (as hardcoded strings).
So, what am I missing here? How can the application display the icons (cause they are displayed correctly) when the file names are wrong?
The text was updated successfully, but these errors were encountered:
I just started experimenting with .NET MAUI and the Weather app and had the exact same question. Whatever the answer is, I hope they make resource management much easier to deal with. For example, how do you even import image files so that they are placed properly for all the different solutions to access them? It's not very clear to me as someone who is coming from mainly WinForms.
I see several references to .png images, in for example
App.xaml
:But, when I try to find those image files in the solution, I can't find them - there are no
tab_home.png
,tab_favorites.png
ortab_map.png
. However, inResources/Images
I find the.svg
versions:Resources/Images/tab_home.svg
Resources/Images/tab_favorites.svg
Resources/Images/tab_map.svg
Also in the
\src\WeatherTwentyOne\Converters\ActiveTabConverter.cs
, the png files are references (as hardcoded strings).So, what am I missing here? How can the application display the icons (cause they are displayed correctly) when the file names are wrong?
The text was updated successfully, but these errors were encountered: