Add the create project method for Windows

This commit is contained in:
Thorsten Sommer 2022-08-15 21:03:38 +02:00
parent c867514211
commit ed686caf41
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 11 additions and 1 deletions

View File

@ -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()

View File

@ -28,6 +28,11 @@ public partial class LoadProject
this.newProjectDestination = result.Path; this.newProjectDestination = result.Path;
} }
private async Task CreateProjectWindows()
{
}
} }
#endif #endif