dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.73k stars 1.07k forks source link

app do not start #36668

Open MarcoDelFrate opened 1 year ago

MarcoDelFrate commented 1 year ago

Problem encountered on https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/device-setup Operating System: windows

the emulator stars weel but the application do not start nor appears in the app list

jfversluis commented 1 year ago

Hey there @MarcoDelFrate thanks for your interest in .NET MAUI! Sorry that you're having a bit of trouble.

What platform are you trying to run your app on? Is there any output on your screen? Error messages? In your output windows any log messages in Visual Studio?

ghost commented 1 year ago

Hi @MarcoDelFrate. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

MarcoDelFrate commented 1 year ago

Good morning

What platform are you trying to run your app on? Is there any output on your screen? Error messages? In your output windows any log messages in Visual Studio?

i'm trying to run on Android. The only one error message i can see is: (sorry for Italian) NETSDK1147: carico di lavoro mancante per il framework di destinazione specificato

trying to translate: NETSDK1147: Missing workload for the specified target framework

thank You in advance

mattleibow commented 1 year ago

This sounds like a missing workload. Moving to the SDK repo to help investigate the cause of missing things after installing VS/maui.

marcpopMSFT commented 10 months ago

If you're missing a workload, you can run dotnet workload restore on your project to install the workloads needed to build that project. In .net 8, the NetSDK1147 should include that as part of the suggestion. If that doesn't work, please provide an https://aka.ms/binlog from the failing build.