❔ ✅ Image Disappears

FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
I run my WPF and my image disappears, but if i dont run my project i see the image and its how i want it
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
Any possible fixes?
BBuddy1/2/2023
Show properties of the image
BBuddy1/2/2023
@F͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽ so you notice
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
<StackPanel Width="250"
Grid.Row="1"
Orientation="Vertical"
Margin="173,5,173,10">

<Image Source="/Images/logo.png"
Width="237" Height="100"/>
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
@Buddy
AAnchy1/2/2023
use a pack uri in the source instead
BBuddy1/2/2023
I mean in the properties window
BBuddy1/2/2023
Not the xaml
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
.cs?
AAnchy1/2/2023
<Image Source="pack://application:,,,/Images/logo.png" Width="237" Height="100"/>
BBuddy1/2/2023
No, image properties
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
ohhhhh ok
BBuddy1/2/2023
That won't solve it.
BBuddy1/2/2023
If my guess is correct
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
Correct
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
i basically copied code from my other wpf for the image and on the other one it works just fine
BBuddy1/2/2023
Right-click the image, in solution explorer. Press properties.
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
pretty new to Coding
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
ok
BBuddy1/2/2023
Check the properties window
BBuddy1/2/2023
Screenshot that window.
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
i fixed it
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
i figured it out
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
i had build action as "None"
BBuddy1/2/2023
Yeah, as I expected.
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
I would have never look at that if you had not brought it up
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
thank you for helping
BBuddy1/2/2023
No problem.
FF͓̽u͓̽c͓̽k͓̽i͓̽n͓̽R͓̽7͓̽a͓̽n͓̽1/2/2023
Have a good night
AAccord1/3/2023
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.