❔ i have an app that runs well on my pc but not on other pcs
i have an app that runs well on my pc but on when i zip it and bring it to another pc the ui is all crashed and stuff, does anyone have an idea what may be the problem(probably dependencies but idk wheres that and what is it)?
50 Replies
the app crashes on another pc?
ui
?
its the user interface that is a bit crazy
but the app launches fine?
yes, it probably is some dependency that it need in the other pc but idk how to fix it and how dependencies work
if its a missing dependency the app would probably crash
in my pc it looks like image1 and the other pc its like image2
is the windows scaling different on those 2 machines?
no
look at the images
i did
im trying to think of any reason that would cause that to happen
is the window resizable?
no
heres the app
no idea then
runs fine in my vm
the text looks huge tho
windows versions may help with debugging
exactly thats, how it should look but for the other pc it has a strange formatting
like this
my version and the other, ok
Post the XAML
of MainWindow
winforms
here's form1.cs not xaml, ig u can try and see something
This is because you set the exact location
Even in WinForms you should not do that
but you must use the layout controls
WrapPanel, Docking, etc.
WYSIWYG (What you see is what you get) is stupid. A lot of scaling / layouting issues
how do i acess that?
You have containers in toolbox
Although WrapPanel may not exist - Been so long since I last touched WinForms.
WinForms is insanely old, and not really recommended these days.
To be fair, it is much easier than for example WPF.
yeah i choose winforms bcs people said to not use drag and drop in wpf and i wanted to do a quick app but it seems that maybe its not so quick/simple
WinUI3 ftw
but yeah i need to learn new stuff so il start making apps in wpf
yeah i also searched for that but it has no designer
thats too much of a change to me
from drag and drop to no designer
it has live reload and also uses native windows ui components
does live reload work well in code(C#)
C# stuff doesn't support live reload ofc
only the stuff in the xaml files
iirc
i used live reload in winforms
GitHub
GitHub - microsoft/WinUI-Gallery: This app demonstrates the control...
This app demonstrates the controls available in WinUI and the Fluent Design System. - GitHub - microsoft/WinUI-Gallery: This app demonstrates the controls available in WinUI and the Fluent Design S...
sorry
hot reload
does winui 3 hot reload work well in code(C#)?
¯\_(ツ)_/¯
whats native win...?
not like control panel type ui
like new windows store or settings
yk
works as it should be right?
i havent tried yet thats why im asking
i dont know what that means
yk - you know
thx, i think i have have been enlightened by your and LLVM explanations, so if i have patience to finish this app il use the containers section in winforms and for new apps ima use winui 3
winui 3 is backwards compatible to this version right?
yeah i guess
$tias
WinUI3 is terrible, the API is very different.
And MSIX all around stinks.
i wouldnt say its terrible, its just not mature
its still in beta even though they say its not
it can also be unpackaged, otherwise youd just use uwp
msix is where they are going with maui for publishing and i absolutely hate it
you lose a lot of control
last i checked you could publish unpackaged with maui too
yeah as project
but it's weird
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.