Add the create project method for Windows
This commit is contained in:
parent
c867514211
commit
ed686caf41
@ -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
|
Loading…
Reference in New Issue
Block a user