Score:0

Can't open .exe file

td flag

my .exe file is not opening, i did not have execute permission so i changed the permission by chmod +x. Still i can't open the file with wine and using ./ too, i used sudo but could not open. After doing ./ file.exe i got this error -

Unhandled Exception:
System.InvalidProgramException: Invalid IL code in �.: (): IL_0002: brtrue.s  IL_0006


[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in �.: (): IL_0002: brtrue.s  IL_0006

How to solve this error??

Hacek  avatar
td flag
i think it is not partition related issue,
Hacek  avatar
td flag
any other solution?
pl flag
What's the output of `file ./file.exe` . In your question you have a space between `./` and `file.exe` which may be a typo here, but that won't work. What is the executable? Is it a windows one, or dotnet?
Hacek  avatar
td flag
the executable is for windows and mac
Hacek  avatar
td flag
that was typing mistake, i did `./file.exe`
Hacek  avatar
td flag
in command line i changed the permission to 777 and it changed, but when in the file's properties its is showing i have only read and write permission.
David avatar
cn flag
You can not run a Windows executable on a Ubuntu OS. You just tried to put diesel fuel in a gas engine and complained it would not run.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.