Major difference between the visual studio designer and the actual app output (debug or release)
Two photos attached, I can't find anything on google as to why this looks different. It was working at one point then wasn't the next. I can't remember anything being the catalyst for why it wasn't working. Any tips?
Info:
The images are contained in a Resources directory that works fine on the designer but not on the app, it also isn't generated when I publish the app so could it be something to do with the app not finding the resources at runtime?
9 Replies
Have you set the images' build action to
Resource
?Sorry for the late reply. I do believe so, yes. Even so, would that also affect the windows visuals and the <Boarder> elements?
No, it doesn't affect anything else as far as I know. I didn't notice the grid lines missing at first. Not sure why that happens
Yeah, me too. I've even moved it to another WPF project (new) and only copied the XAML and code-behind but it's al the same.
If you share the project I could try to fix it
Or you can just share the xaml
I'll just share the whole code, it's a very basic app anyway lol. Can I dm it to you?
Sure
I believe it was something to do with fixing the majority of my layouts. I sent an updated XAML configuration that was segmented, re-worked manually through every line and I implemented Grids (as it didn't previously have them) and applied borders. From there it seemed to work for the most part with minor tweaking. Still very strange though
!solved
That command had an error
UnknownCommand: Unknown command.
Remove your reaction to delete this message