Add the create project method for Windows

This commit is contained in:
tsommer committed 2022-08-15 21:03:38 +02:00
1 parent c867514211
commit ed686caf41
2 files changed
+11 -1

No files matched your search

@@ -30,7 +30,6 @@ public partial class LoadProject
await File.WriteAllTextAsync(recentProjectsFile, string.Empty, Encoding.UTF8); await File.WriteAllTextAsync(recentProjectsFile, string.Empty, Encoding.UTF8);
// Read the JSON data from that file & decode it to an array of recent projects: // Read the JSON data from that file & decode it to an array of recent projects:
} }
private async Task WriteRecentProjects() private async Task WriteRecentProjects()
@@ -58,7 +57,13 @@ public partial class LoadProject
private Task CreateProject() private Task CreateProject()
{ {
#if WINDOWS
return this.CreateProjectWindows();
#elif MACCATALYST
return Task.CompletedTask; return Task.CompletedTask;
#else
return Task.CompletedTask;
#endif
} }
private bool CannotCreateProject() private bool CannotCreateProject()
@@ -28,6 +28,11 @@ public partial class LoadProject
this.newProjectDestination = result.Path; this.newProjectDestination = result.Path;
} }
private async Task CreateProjectWindows()
{
}
} }
#endif #endif