C
C#9mo ago
Raghavan

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
arion9mo ago
Which version of .net are you using? You can check in your .csproj
Raghavan
RaghavanOP9mo ago
.NET 8
arion
arion9mo ago
Does the PC you tried to run it on have the .net runtime version 8?
Raghavan
RaghavanOP9mo ago
yes if you need i can share the files you may take a look on it
arion
arion9mo ago
uh sure,
arion
arion9mo 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
Raghavan
RaghavanOP9mo ago
i try and reach you with result
cap5lut
cap5lut9mo ago
u could also try to start it via console to see if there is anything written to stderr
canton7
canton79mo 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
Raghavan
RaghavanOP9mo ago
here the 4 error
canton7
canton79mo 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?
Raghavan
RaghavanOP9mo ago
but i try to find it no data found
canton7
canton79mo ago
Also, might want to censor your email there
Raghavan
RaghavanOP9mo ago
yes i fix it
canton7
canton79mo ago
I mean, that took less than a minute of manually looking through files, because github's search wasn't working
Raghavan
RaghavanOP9mo ago
that only is error
canton7
canton79mo ago
I'm not sure what you mena
Raghavan
RaghavanOP9mo ago
is that only problem
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Raghavan
RaghavanOP9mo 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 🙂
Want results from more Discord servers?
Add your server