public ProjectsSynchronizer (ApplicationArguments args) { this.args = args; _xamarinProjectPath = Path.GetDirectoryName (args.XamarinProjectPath); _projectName = Path.GetFileNameWithoutExtension (args.XamarinProjectPath); }
public async Task RunAsync (ApplicationArguments args) { try { var projectsSynchronizer = new ProjectsSynchronizer (args); await projectsSynchronizer.MakeResourcesSubdirectoriesAndFilesLowercase (async () => { System.Console.WriteLine ("Permissions to change original project has been requested and granted."); return true; }); projectsSynchronizer.Sync (); } catch (Exception e) { System.Console.WriteLine(e.Message); } }