App not Opening On other Computers (WPF)

Hey , I am building The WPF application and its run on my system great but i try some different system but it not opening i try all possible way and when i try to find the problem i see when i try to start the application it supended on task manager if you find any solution pls let me know .
23 Replies
arion
arion3mo ago
Which version of .net are you using? You can check in your .csproj
funwithmetamil
funwithmetamil3mo ago
.NET 8
arion
arion3mo ago
Does the PC you tried to run it on have the .net runtime version 8?
funwithmetamil
funwithmetamil3mo ago
yes if you need i can share the files you may take a look on it
arion
arion3mo ago
uh sure,
arion
arion3mo ago
if u launch the app and then go into Windows Event viewer, there might be an error in the Applications folder 📁 related to why your app is crashing most of the time it's a wrong runtime version or a missing dll
funwithmetamil
funwithmetamil3mo ago
i try and reach you with result
cap5lut
cap5lut3mo ago
u could also try to start it via console to see if there is anything written to stderr
canton7
canton73mo ago
This is the thing to do. Also there are normally 2 Error entries for a .NET crash, but only one has useful error information in
funwithmetamil
funwithmetamil3mo ago
here the 4 error
canton7
canton73mo ago
Looks like you've got an image in your app, and you're referring to it by its absolute path "D:\Project\Mailer For Business\Mailer For Business\Mailer For Business\Windows\Dash\btn.png"? So something like <Image Source="D:\Project\Mailer For Business\Mailer For Business\Mailer For Business\Windows\Dash\btn.png"/> somewhere?
funwithmetamil
funwithmetamil3mo ago
but i try to find it no data found
canton7
canton73mo ago
Also, might want to censor your email there
funwithmetamil
funwithmetamil3mo ago
yes i fix it
canton7
canton73mo ago
I mean, that took less than a minute of manually looking through files, because github's search wasn't working
funwithmetamil
funwithmetamil3mo ago
that only is error
canton7
canton73mo ago
I'm not sure what you mena
funwithmetamil
funwithmetamil3mo ago
is that only problem
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
funwithmetamil
funwithmetamil3mo ago
ok now its working fine sure i will fix it i am new to WPF man still i dnot understand the github action if you can fix that build script then do it and pull request it i am sure add to the base project that be great help 🙂