winui can not open exe file?

mc 5,571 Reputation points
2023-10-15T09:02:30.75+00:00

I created WinUI3.0 project and the exe file can not run ?

I clicked the exe file and nothing hanpped

I set the property of PublishSingleFile=true PublishAot=false

and rebuild it can not open the exe file too

I publish it and it can not run too

I can not run it in visual studio why?

how to run the exe file?

Windows development | Windows App SDK
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.