-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXE files cannot be double-clicked to run #5327
Comments
If it is convenient, I hope to answer this question . |
Is this a release build or a debug build? And a regular .NET MAUI app or a Blazor one? |
<1>debug build |
I think this might be fixed by #5377 |
Not the same, nothing happens after double click. don't show window. |
Is this an unpackaged app? Normal/default windows apps cannot be launched as they are not normal apps. Unpackaged apps are what you might be looking for. |
yes, not packaged. |
verified repro with vs 17.2.0 Preview 3.0 [32317.292.main] on windows,
|
Closing, tracking in #3166 |
This should be supported now. Just some apis in Blazor and essentials is having a few issues. However, based on the exception I think that the windows runtime is not installed. Please make sure to follow the steps in the issue or in the official docs linked there. |
Got it, I'll try it |
Description
System : Windows 11 Home Chinese Edition
Visual studio Version : 17.2.0 Preview 1.0
SDK: net6.0-windows10.0.19041
D:\git_community\MauiApp1\bin\Debug\net6.0-windows10.0.19041\win10-x64\MauiApp1.exe
D:\git_community\MauiApp1\bin\Debug\net6.0-windows10.0.19041\win10-x64\AppX\MauiApp1.exe
The exe files in the above two paths cannot be double-clicked to run , and it can't be started with Process .
Steps to Reproduce
`using System.Diagnostics;
Process p = new Process();
p.StartInfo.FileName = "MauiApp1.exe";
p.StartInfo.Arguments = "http://www.baidu.com";
var isComplated = p.Start();
Console.WriteLine(isComplated); //The result of running is true but no running .
Console.Read();`
Version with bug
Preview 13 (current)
Last version that worked well
Preview 13 (current)
Affected platforms
Windows
Affected platform versions
windows10.0.19041
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: