C
C#5mo ago
Addanbillis

✅ Console app makes another app

so I am trying to make a text-based horror game where you win by deleting the original game. So to do this I am trying to make my app make another app that I will use to give a congratulations screen when you win. But when i run the second program it gives me this error: " Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. An attempt was made to load a program with an incorrect format." I have tried to search for the solution but I just can't find anything (that I understand as a beginner at least) and Ai wasn't to any help so now I'm here. (Also sorry if I made an incorrect post of some sort as I'm not sure how you're supposed to format these posts ) I added my code as an attachment
8 Replies
Buddy
Buddy5mo ago
Please use $paste as mobile users cannot view the code without having to download a file
MODiX
MODiX5mo ago
If your code is too long, you can post to https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code!
Addanbillis
AddanbillisOP5mo ago
Ok, will do soon as I’m not on my computer at the moment
Addanbillis
AddanbillisOP5mo ago
BlazeBin Basic - bzbbybmjhuye
A tool for sharing your source code with the world!
jiniux
jiniux5mo ago
no need to compile. just embed the exe in the program resources, write it to a temp path and then launch it
Addanbillis
AddanbillisOP5mo ago
thanks for the solution! now how do i close this thread
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX5mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server