Nothing happened in opening built .exe file
See original GitHub issueDescribe the bug
I want to deploy my app but when build finished successfully it didn’t open and nothing appear like error message or something like that. below is build output:
Build started...
1>------ Build started: Project: xamltest, Configuration: Release x64 ------
Restored C:\Users\<user name>\Desktop\test\xamltest\xamltest.csproj (in 341 ms).
1> xamltest -> C:\Users\<user name>\Desktop\test\xamltest\bin\x64\Release\xamltest.exe
1> Processing application code
1> Computing application closure and generating interop code
1> Loading 81 modules...
1> Generating code...
1> Interop code generated.
1> Compiling interop code
1> Generating System.Reflection.DispatchProxy proxy code.
1> Cleaning up unreferenced code
1> Generating native code
1> Generating fixups for native code
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Steps to reproduce the bug
Opening program in bin\x64\Release<name>.exe
Expected behavior
No response
Screenshots
No response
NuGet package version
No response
Windows app type
- UWP
- Win32
Device form factor
Desktop
Windows version
Windows 10 (21H2): Build 19044
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Windows 10 Does Nothing When I Click on .exe Files
Windows 10 Does Nothing When I Click on .exe Files · Open Command Prompt (run as admin) type cd\windows · Press "Windows key...
Read more >Can't Open Exe Files in Windows 10/8/7 FIX - YouTube
Had this happen suddenly on Win 10. Can't open ANY . exe file, not even regedit. The system was fine one moment, and...
Read more >python - PyInstaller .exe file does nothing
If this happens for you, open the command prompt and try to run the exe there by going to the appropriate path and...
Read more >Nothing happens on opening exe through wine
I used q4wine to check the process running and can see that the processes are getting created fine. But no gui response. Please...
Read more >Nothing happens when setup.exe is started | Endpoint ...
The problem occurs when the setup is launched, a setup.exe process will appear in the task manager, also in [c:\docs&settings\username\localsettings\temp] a ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

is this really win32 or is it a uwp app? for a uwp app (or any packaged app), you can’t just run the exe, that won’t work, you need to start the app via e.g. the start menu, or programmatically through the activation manager API.
Either launch the app from the Start menu, or you can write a launcher exe or script.
npx launch-package [package name], e.g.npx launch-package microsoft.windowscalculator.start shell:AppsFolder\Microsoft.WindowsCalculator_8wekyb3d8bbwe!App. Note the!Appprefix."C:\Program Files (x86)\Windows Kits\10\App Certification Kit\microsoft.windows.softwarelogo.appxlauncher.exe" Microsoft.WindowsCalculator_8wekyb3d8bbwe!App. Note the parameter you pass is the package name followed by the!app namelike!App.