Resolve "Evaluate .NET MAUI" #70

Merged
thorsten merged 42 commits from 34-evaluate-net-maui into main 2022-09-17 07:21:22 +00:00
2 changed files with 6 additions and 3 deletions
Showing only changes of commit e3c91791cd - Show all commits

No files matched your search

@@ -62,6 +62,9 @@ public partial class LoadProject
private Task CreateProject() private Task CreateProject()
{ {
// TODO: Need to wait for the project to be created. Afterwards, we need to close the dialog. Meanwhile, we need to show a loading indicator.
#warning TODO: Create project
#if WINDOWS #if WINDOWS
return this.CreateProjectWindows(); return this.CreateProjectWindows();
#elif MACCATALYST #elif MACCATALYST
@@ -29,10 +29,10 @@ public partial class LoadProject
this.newProjectDestination = result.Path; this.newProjectDestination = result.Path;
} }
private async Task CreateProjectWindows() private async Task CreateProjectWindows() => await Task.Run(() =>
{ {
this.DataContextFactory.CreateDataContext(this.newProjectDestination);
} });
} }
#endif #endif